MinimalWordCount example walk through

We will walk through the MinimalWordCount.java example given on the Apache Beam site and run it on the Flink server that we setup in the previous section. The WordCount that we ran in the above example is the same implementation as MinimalWordCount.java, but with best coding practices and reusable code. So, here we would discuss the MinimalWordCount example so that the user can understand the concept clearly. For more details, visit https://beam.apache.org/get-started/wordcount-example. The key concepts for building the minimal word count example in the Beam Pipeline are:

  • Creating Pipeline:
PipelineOptions options = PipelineOptionsFactory.create(); 

The PipelineOption object contains information about ...

Get Practical Real-time Data Processing and Analytics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.