GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — beam/examples/java at master · apache/beam

Expand file tree

/

java

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

java

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
cdap
cdap
 
 
iceberg
iceberg
 
 
sql
sql
 
 
src
src
 
 
twitter
twitter
 
 
webapis
webapis
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
common.gradle
common.gradle
 
 

README.md

Outline

Example Pipelines

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.

Word Count

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.

  1. MinimalWordCount is the simplest word count pipeline and introduces basic concepts like Pipelines, PCollections, ParDo, and reading and writing data from external storage.

  2. WordCount introduces best practices like PipelineOptions and custom PTransforms.

  3. DebuggingWordCount demonstrates some best practices for instrumenting your pipeline code.

  4. WindowedWordCount shows how to run the same pipeline over either unbounded PCollections in streaming mode or bounded PCollections in batch mode.

Running Examples

See Apache Beam WordCount Example for information on running these examples.

Beyond Word Count

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:

  1. CryptoRealTime Create an unbounded streaming source/reader and manage basic watermarking, checkpointing and record id for data ingestion, stream trading data from exchanges with BEAM + Medium post
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.