Oleg Zhurakousky created KAFKA-3539:
---------------------------------------
Summary: KafkaProducer.send() may block even though it returns the
Future
Key: KAFKA-3539
URL: https://issues.apache.org/jira/browse/KAFKA-3539
Project: Kafka
Issue Type: Bug
Reporter: Oleg Zhurakousky
Priority: Critical
You can get more details from the [email protected] 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)