You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Gwen Shapira (JIRA)" <ji...@apache.org> on 2016/02/27 00:10:18 UTC
[jira] [Created] (KAFKA-3299) KafkaConnect: DistributedHerder
shouldn't wait forever to read configs after rebalance
Gwen Shapira created KAFKA-3299:
-----------------------------------
Summary: KafkaConnect: DistributedHerder shouldn't wait forever to read configs after rebalance
Key: KAFKA-3299
URL: https://issues.apache.org/jira/browse/KAFKA-3299
Project: Kafka
Issue Type: Bug
Reporter: Gwen Shapira
Right now, the handleRebalance code calls readConfigToEnd with timeout of MAX_INT if it isn't the leader.
The normal workerSyncTimeoutMs is probably sufficient.
At least this allows a worker to time-out, get back to the tick() loop and check the "stopping" flag to see if it should shut down, to prevent it from hanging forever.
It doesn't resolve the question of what we should do with a worker that repeatedly fails to read configuration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)