module
Version:
v0.0.0-...-f1b6f2a
Opens a new window with list of versions in this module.
Published: Dec 7, 2020
License: Apache-2.0
Opens a new window with license information.
README
¶
Example beam + Go + Flink
Install system software
-
Follow official Docker instructions for to install docker.
-
Follow the "Portable (Java/Python/Go)"
instructions on the
beam website.
Run the example
In one terminal:
docker run --net=host apache/beam_flink1.10_job_server:latest
In another terminal:
go run cmd/beamgo_pipeline/beamgo_pipeline.go --runner flink --endpoint localhost:8099 --output /tmp/output-flink.txt --environment_type LOOPBACK
Regenerate the pb.go file
protoc -I objectpb --go_out=objectpb objectpb/object.proto
mv objectpb/github.com/gonzojive/beam-go-example/objectpb/object.pb.go objectpb/
rm -R objectpb/github.com
Directories
¶
cmd
|
|
beamgo_pipeline
wordcount is an example that counts words in Shakespeare and includes Beam best practices.
|
wordcount is an example that counts words in Shakespeare and includes Beam best practices. |
|
|
Click to show internal directories.
Click to hide internal directories.