You are using a Dataflow streaming job to read messages from a message bus that does not support exactly-once delivery. Your job then applies some transformations, and loads the result into BigQuery. You want to ensure that your data is being streamed into BigQuery with exactly-once delivery semantics. You expect your ingestion throughput into BigQuery to be about 1.5 GB per second. What should you do?
- AUse the BigQuery Storage Write API and ensure that your target BigQuery table is regional.
- BUse the BigQuery Storage Write API and ensure that your target BigQuery table is multiregional. (correct answer)
- CUse the BigQuery Streaming API and ensure that your target BigQuery table is regional.
- DUse the BigQuery Streaming API and ensure that your target BigQuery table is multiregional.
Reveal answer & explanationHide answer
The correct answer is B. Option B: Use the BigQuery Storage Write API and ensure that your target BigQuery table is multiregional.
Explanation
BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. This option meets the real-time / low-latency performance requirement.