[ https://issues.apache.org/jira/browse/KAFKA-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17344023#comment-17344023 ]
Moses Nakamura commented on KAFKA-3539: --------------------------------------- [~ewencp] thanks, I started the KIP process, it's [KIP-739|https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181306446] and the discussion thread is [here|https://lists.apache.org/x/thread.html/r0cc154d47903bc9f905bce790c4a492761d7cc54076b1c320c68f122@%3Cdev.kafka.apache.org%3E]. Please let me know what you think! > 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 > Components: producer > Reporter: Oleg Zhurakousky > Priority: Critical > Labels: needs-discussion, needs-kip > > You can get more details from the us...@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. -- This message was sent by Atlassian Jira (v8.3.4#803005)