The examples included in this module serve to demonstrate the basic functionality of Apache Beam, and act as starting points for the development of more complex pipelines.
A good starting point for new users is our set of word count examples, which computes word frequencies. This series of four successively more detailed pipelines is described in detail in the accompanying walkthrough.
DebuggingWordCount demonstrates some best practices for instrumenting your pipeline code.
WindowedWordCount shows how to run the same pipeline over either unbounded PCollections in streaming mode or bounded PCollections in batch mode.
See Apache Beam WordCount Example for information on running these examples.
After you've finished running your first few word count pipelines, take a look at the cookbook directory for some common and useful patterns like joining, filtering, and combining.
The complete directory contains a few realistic end-to-end pipelines.
See the other examples as well. This directory includes a Java 8 version of the MinimalWordCount example, as well as a series of examples in a simple ‘mobile gaming’ domain. This series introduces some advanced concepts. Finally, the following are user contributed examples: