Details
-
Bug
-
Status: In Progress
-
Critical
-
Resolution: Unresolved
-
None
-
None
Description
You can get more details from the users@kafka.apache.org by searching on the thread with the subject "KafkaProducer block on send".
The bottom line is that method that returns Future must never block, since it essentially violates the Future contract as it was specifically designed to return immediately passing control back to the user to check for completion, cancel etc.
Attachments
Issue Links
- causes
-
LOG4J2-3173 KafkaAppender for log4j2 prevents an app from terminating
- Open
- relates to
-
KAFKA-3450 Producer blocks on send to topic that doesn't exist if auto create is disabled
- Open
-
KAFKA-8178 KafkaProducer#send(ProducerRecord,Callback) may block for up to 60 seconds
- Open
-
KAFKA-6705 producer.send() should not block due to metadata not available
- Resolved
- links to