Details
Description
Currently in the Connect code in DistributedHerder.java, we see the following piece of code
{{ if (!canReadConfigs && !readConfigToEnd(workerSyncTimeoutMs))
return; // Safe to return and tick immediately because readConfigToEnd will do the backoff for us}}
where the workerSyncTimeoutMs passed in is the timeout given to read to the end of the config log. This is a bug as we should check if fetch.wait.max.ms is greater than worker.sync.timeout.ms and if it is, use worker.sync.timeout.ms as the fetch.wait.max.ms. A better fix would be to use the AdminClient to read to the end of the log, but at a minimum we should check the configs.
Attachments
Issue Links
- causes
-
KAFKA-12326 MM2 fails to start to due missing required configuration "bootstrap.servers"
- Resolved
-
KAFKA-12339 Add retry to admin client's listOffsets
- Resolved
-
KAFKA-12340 Recent change to use SharedTopicAdmin results in potential resource leak in deprecated backing store constructors
- Resolved
- links to