Examples for the Apache Beam SDKs

On the Apache Beam website, you can find documentation for the following examples:

  • WordCount Walkthrough: a series of four successively more detailed examples that build on each other and present various SDK concepts.
  • Mobile Gaming Examples: examples that demonstrate more complex functionality than the WordCount examples.

You can find more examples in the Apache Beam repository on GitHub, in the examples directory. The complete examples subdirectory contains example pipelines that perform complex data processing tasks. The Cookbook subdirectory contains "Cookbook" examples that show how to define commonly used data analysis patterns that you would likely incorporate into a larger pipeline. See the examples directory for Java or for Python.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-04-01 UTC.