Description
Currently we block indefinitely in poll() when discovering the coordinator for the group. Instead, we can return an empty record set when the passed timeout expires. The downside is that it may obscure the underlying problem (which is usually misconfiguration), but users typically have to look at the logs to figure out the problem anyway.
Attachments
Attachments
Issue Links
- is duplicated by
-
KAFKA-5065 AbstractCoordinator.ensureCoordinatorReady() stuck in loop if absent any bootstrap servers
- Resolved
-
KAFKA-6230 KafkaConsumer.poll(0) should not block forever if coordinator is not available
- Resolved
-
KAFKA-6257 KafkaConsumer was hung when bootstrap servers was not existed
- Resolved
- is part of
-
KAFKA-1894 Avoid long or infinite blocking in the consumer
- Resolved