I am using dataflow kafka to bigquery template. after launching the dataflow job, it stays in queue for some time then fails with below error:
java.lang.RuntimeException: org.apache.kafka.common.errors.TimeoutException: Timeout expired while fetching topic metadata
While lauching job, i have provided below parameters:
- kafka topic name
- bootstrap server ip and port (private ip)
- bigquery topic name
- SA email
- zone.
- Network , subnet (same network where kafka server running)
My kafka topic only contanis message: hello
kafka is installed in gcp instance which is in same zone and subnet as dataflow worker.