Reference documentation and code samples for the Dataflow V1beta3 API module Google::Cloud::Dataflow::V1beta3::StreamingMode.
Specifies the Streaming Engine message processing guarantees. Reduces cost
and latency but might result in duplicate messages written to storage.
Designed to run simple mapping streaming ETL jobs at the lowest cost.
For example, Change Data Capture (CDC) to BigQuery is a canonical use
case. For more information, see
Set the pipeline streaming
mode.
Constants
STREAMING_MODE_UNSPECIFIED
value: 0 Run in the default mode.
STREAMING_MODE_EXACTLY_ONCE
value: 1 In this mode, message deduplication is performed against persistent state
to make sure each message is processed and committed to storage exactly
once.
STREAMING_MODE_AT_LEAST_ONCE
value: 2 Message deduplication is not performed. Messages might be processed
multiple times, and the results are applied multiple times.
Note: Setting this value also enables Streaming Engine and
Streaming Engine resource-based billing.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Dataflow V1beta3 API - Module Google::Cloud::Dataflow::V1beta3::StreamingMode (v0.13.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.1 (latest)](/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.13.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.13.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.12.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.12.1/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.11.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.11.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.10.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.10.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.9.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.9.1/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.8.2](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.8.2/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.7.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.7.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.6.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.6.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.5.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.5.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.4.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.3.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.2.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.2.0/Google-Cloud-Dataflow-V1beta3-StreamingMode)\n- [0.1.4](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.1.4/Google-Cloud-Dataflow-V1beta3-StreamingMode) \nReference documentation and code samples for the Dataflow V1beta3 API module Google::Cloud::Dataflow::V1beta3::StreamingMode.\n\nSpecifies the Streaming Engine message processing guarantees. Reduces cost\nand latency but might result in duplicate messages written to storage.\nDesigned to run simple mapping streaming ETL jobs at the lowest cost.\nFor example, Change Data Capture (CDC) to BigQuery is a canonical use\ncase. For more information, see\n[Set the pipeline streaming\nmode](https://cloud.google.com/dataflow/docs/guides/streaming-modes).\n\nConstants\n---------\n\n### STREAMING_MODE_UNSPECIFIED\n\n**value:** 0 \nRun in the default mode.\n\n### STREAMING_MODE_EXACTLY_ONCE\n\n**value:** 1 \nIn this mode, message deduplication is performed against persistent state\nto make sure each message is processed and committed to storage exactly\nonce.\n\n### STREAMING_MODE_AT_LEAST_ONCE\n\n**value:** 2 \nMessage deduplication is not performed. Messages might be processed\nmultiple times, and the results are applied multiple times.\nNote: Setting this value also enables Streaming Engine and\nStreaming Engine resource-based billing."]]