Try Beam Playground (Beta)

Beam Playground is an interactive environment to try out Beam transforms and examples without having to install Apache Beam in your environment.

You can try the available Apache Beam examples at Beam Playground.

Beam Playground WordCount Example

How To Add New Examples

To add an Apache Beam example/test/kata into Beam Playground catalog, add the beam-playground tag into the file to be added. beam-playground tag is a yaml format comment:

// beam-playground:
//   name: Name of the example/test/kata
//   description: Description of the example/test/kata
//   multifile: false
//   pipeline_options: --option1 value1 --option2 value2
//   default_example: false
//   context_line: 10
//   categories:
//     - category 1
//     - category 2
//     - category N

// example code
# beam-playground:
#   name: Name of the example/test/kata
#   description: Description of the example/test/kata
#   multifile: false
#   pipeline_options: --option1 value1 --option2 value2
#   default_example: false
#   context_line: 10
#   categories:
#     - category 1
#     - category 2
#     - category N

# example code
// beam-playground:
//   name: Name of the example/test/kata
//   description: Description of the example/test/kata
//   multifile: false
//   pipeline_options: --option1 value1 --option2 value2
//   default_example: false
//   context_line: 10
//   categories:
//     - category 1
//     - category 2
//     - category N

// example code

The ‘beam-playground’ tag consists of the following required elements:

More details on examples in Apache Beam Playground can be found here.

Next Steps

Please don’t hesitate to reach out if you encounter any issues!