[jira] [Commented] (KAFKA-3539) KafkaProducer.send() may block even though it returns the Future

2019-03-22 Thread Christophe Jolif (JIRA)


[ 
https://issues.apache.org/jira/browse/KAFKA-3539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16798975#comment-16798975
 ] 

Christophe Jolif commented on KAFKA-3539:
-

I think the main issue, is that reading the API people think they can write 
code that won't block... So when it suddenly block you realize all your 
assumptions were wrong and you might end up blocking critical code that should 
be running. And you usually just learn in the hard way during pre-production 
tests (ideally) or worst... At the very least the documentation should be 
clearer because when you read it you don't imagine this can block.

> 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
>
> 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
(v7.6.3#76005)


[jira] [Created] (KAFKA-7426) Kafka Compatibility Matrix is missing Kafka 2.0 broker information

2018-09-20 Thread Christophe Jolif (JIRA)
Christophe Jolif created KAFKA-7426:
---

 Summary: Kafka Compatibility Matrix is missing Kafka 2.0 broker 
information
 Key: KAFKA-7426
 URL: https://issues.apache.org/jira/browse/KAFKA-7426
 Project: Kafka
  Issue Type: Bug
  Components: documentation
Reporter: Christophe Jolif


See

https://cwiki.apache.org/confluence/display/KAFKA/Compatibility+Matrix



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)