Skip to content

Example of using Apache Beam, Go, and Apache Flink together. A little more complicated than the "direct" runner and should work with very large inputs.

License

Notifications You must be signed in to change notification settings

gonzojive/beam-go-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example beam + Go + Flink

Install system software

  1. Follow official Docker instructions for to install docker.

  2. 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

About

Example of using Apache Beam, Go, and Apache Flink together. A little more complicated than the "direct" runner and should work with very large inputs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages