[
https://issues.apache.org/jira/browse/KAFKA-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383368#comment-17383368
]
Moses Nakamura commented on KAFKA-3539:
---------------------------------------
Looks like KafkaProducerTest is the main one that breaks. Right now there are
only two failing tests . . .
KafkaProducerTest > shouldCloseProperlyAndThrowIfInterrupted() FAILED
KafkaProducerTest > testFlushCompleteSendOfInflightBatches() FAILED
I don't think I've made any changes to the public API, it's only behavioral
changes so far. They're runtime failures, I was able to fix any compilation
issues pretty easily. Do you know who someone more active in this part of the
codebase is?
> 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 [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
(v8.3.4#803005)