[ https://issues.apache.org/jira/browse/KAFKA-5736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Harris resolved KAFKA-5736. -------------------------------- Assignee: (was: Konstantine Karantasis) Resolution: Won't Fix This appears to be a third-party plugin implementation using the AbstractPartitionAssignor, and violating one of it's preconditions. There is no reasonable alternative behavior for the AbstractPartitionAssignor, and this is up to the third-party plugin developer to fix. > Improve error message in Connect when all kafka brokers are down > ---------------------------------------------------------------- > > Key: KAFKA-5736 > URL: https://issues.apache.org/jira/browse/KAFKA-5736 > Project: Kafka > Issue Type: Bug > Components: connect > Affects Versions: 0.11.0.0 > Reporter: Konstantine Karantasis > Priority: Major > Original Estimate: 3h > Remaining Estimate: 3h > > Currently when all the Kafka brokers are down, Kafka Connect is failing with > a pretty unintuitive message when it tries to, for instance, reconfigure > tasks. > Example output: > {code:java} > [2017-08-15 19:12:09,959] ERROR Failed to reconfigure connector's tasks, > retrying after backoff: > (org.apache.kafka.connect.runtime.distributed.DistributedHerder) > java.lang.IllegalArgumentException: CircularIterator can only be used on > non-empty lists > at > org.apache.kafka.common.utils.CircularIterator.<init>(CircularIterator.java:29) > at > org.apache.kafka.clients.consumer.RoundRobinAssignor.assign(RoundRobinAssignor.java:61) > at > org.apache.kafka.clients.consumer.internals.AbstractPartitionAssignor.assign(AbstractPartitionAssignor.java:68) > at > ... (connector code) > at > org.apache.kafka.connect.runtime.Worker.connectorTaskConfigs(Worker.java:230) > {code} > The error message needs to be improved, since its root cause is the absence > kafka brokers for assignment. -- This message was sent by Atlassian Jira (v8.20.10#820010)