Apache Beam

Unified batch and streaming programming model executed by a pluggable runner.

Provider
default
Category
Messaging
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
checkpointIntervalSecondsinteger—no—inherited
exactlyOnceboolean—nofalse▸ false
instancesinteger—no—inherited
lateDataPolicyenumdrop | shift | sidelineno—▸ drop
managedboolean—nofalse▸ false
runner · component propertyenumdirect | flink | spark | samza | dataflownodirectinherited
sdk · component propertyenumjava | python | go | typescriptnojavainherited
stateBackendenummemory | rocksdb | externalnomemoryinherited
watermarkSecondsinteger—no—inherited
windowingenumnone | event-time | processing-timenonone▸ none
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

windowed-aggregation-without-watermark

Event-time windows need a watermark to know when a window is complete. Without one the processor either waits forever or closes windows early and silently drops late events.

  • — all of these hold:
  • — the node's `windowing` is "event-time"
  • — the node's `watermarkSeconds` has no value
Use it in a design
nodes:
  - { id: "beam", component: "beam" }
Other Stream processor products · 33
Realtime Compute for Apache Flinkalibaba-flinkalibabacloudstream-processorAmazon EventBridge Pipesaws-eventbridge-pipesawsstream-processorAmazon Data Firehoseaws-firehoseawsstream-processorAmazon Managed Service for Apache Flinkaws-managed-flinkawsstream-processorAmazon OpenSearch Ingestionaws-opensearch-ingestionawsstream-processorAzure Stream Analyticsazure-stream-analyticsazurestream-processorCloudflare Logpushcloudflare-logpushcloudflarestream-processorCloudflare Pipelinescloudflare-pipelinescloudflarestream-processorArroyoarroyostream-processorBytewaxbytewaxstream-processorDrasidrasistream-processorApache Flinkflinkstream-processorKafka Streamskafka-streamsstream-processorksqlDBksqldbstream-processorLogstashlogstashstream-processorMaterializematerializestream-processorApache NiFinifistream-processorNorikranorikrastream-processorRedpanda Connectredpanda-connectstream-processorRisingWaverisingwavestream-processorApache Samzasamzastream-processorSnowplowsnowplowstream-processorSpark Structured Streamingspark-streamingstream-processorApache Stormstormstream-processorGeneric stream processorstream-processorstream-processorTremortremorstream-processorGoogle Cloud Dataflowgoogle-dataflowgcpstream-processorManufacturing Data Enginegoogle-manufacturing-data-enginegcpstream-processorActivity Tracker Event Routingibm-activity-tracker-event-routingibmstream-processorIBM Cloud Logs Routingibm-logs-routingibmstream-processorIBM Cloud Metrics Routingibm-metrics-routingibmstream-processorOCI Connector Huboci-connector-hubocistream-processorOCI GoldenGate Stream Analyticsoci-goldengate-stream-analyticsocistream-processor
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Apache Beam: unified batch and streaming model executed by a runner (Dataflow, Flink, Spark).
# "By default, all data in a PCollection is assigned to the single global window, and late data is
# discarded", and the default trigger is event-time based, firing when the watermark estimates all
# data has arrived ("Apache Beam, Basics of the Beam model"). Checkpointing and state come from the runner.
schemaVersion: "1"
type: "component"
id: "beam"
kind: "stream-processor"
provider: "default"
docs: "https://beam.apache.org/documentation/basics/"
defaults:
  managed: false
  windowing: "none"
  lateDataPolicy: "drop"
  exactlyOnce: false
properties:
  runner:
    type: "enum"
    values: ["direct", "flink", "spark", "samza", "dataflow"]
    default: "direct"
  sdk:
    type: "enum"
    values: ["java", "python", "go", "typescript"]
    default: "java"

The same page as markdown, for an agent: /catalogue/components/beam.md