DataflowTemplates
DataflowTemplates copied to clipboard
[Bug]: Kafka-to-BigQuery template bootstrap server and topic format not compatible with some project IDs for managed Kafka
Related Template(s)
kafka_to_bigquery_flex
Template Version
2025-09-23-00_rc00
What happened?
Public-facing documentation suggests that
The format of the bootstrap server address and topic depends on the type of cluster:
- Managed Service for Apache Kafka cluster:
projects/PROJECT_ID/locations/REGION_NAME/clusters/CLUSTER_NAME/topics/TOPIC_NAME
- External Kafka cluster:
BOOTSTRAP_SERVER_ADDRESS;TOPIC_NAME
This causes the job launch to fail when the project ID contains colons, for example: google.com:my-project when passing in the managed kafka resource name.
Relevant log output