Jozef Vilcek created BEAM-9420:
----------------------------------

             Summary: Configurable timeout for Kafka setupInitialOffset()
                 Key: BEAM-9420
                 URL: https://issues.apache.org/jira/browse/BEAM-9420
             Project: Beam
          Issue Type: Bug
          Components: io-java-kafka
    Affects Versions: 2.19.0
            Reporter: Jozef Vilcek


If bootstrap brokers does contain an unhealthy server, it can break the start 
of a whole Beam job. In such case, `KafkaUnboundedReader` is waiting forĀ  
`setupInitialOffset()`. In case `request. timeout.ms` is not specified it waits 
some default amount or double of the timeout value. In both cases, it might not 
be enough time for kafka-client to initiate fallback and retry metadata 
discovery via another broker from given bootstrap list.

The client should be able to specify timeout for `setupInitialOffset()` 
explicitly as a setting to KafkaIO read.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to