[ 
https://issues.apache.org/jira/browse/KAFKA-10595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yeva Byzek updated KAFKA-10595:
-------------------------------
    Description: 
A user asked:

 
{quote}Is the idempotent producer also a total order producer? meaning, despite 
having max.inflight > 1, it will keep message production ordering? My 
understanding of this has always been no, but I'd like to confirm...
{quote}
 

A contributing factor to the confusion around this scenario is that 
[https://kafka.apache.org/documentation/#max.in.flight.requests.per.connection] 
reads

 
{quote}Note that if this setting is set to be greater than 1 and there are 
failed sends, there is a risk of message re-ordering due to retries (i.e., if 
retries are enabled).
{quote}
 

Suggestion: it may be clearer if we augmented this description to say that 
message re-ordering would not happen if {{enable.idempotent=true}} 

 

  was:
A user asked:

 
{quote}Is the idempotent producer also a total order producer? meaning, despite 
having max.inflight > 1, it will keep message production ordering? My 
understanding of this has always been no, but I'd like to confirm...
{quote}
 

I believe a contributing factor to this question is that 
[https://kafka.apache.org/documentation/#max.in.flight.requests.per.connection] 
reads

 
{quote}Note that if this setting is set to be greater than 1 and there are 
failed sends, there is a risk of message re-ordering due to retries (i.e., if 
retries are enabled).
{quote}
 

Suggestion: it may be clearer if we augmented this description to say that 
message re-ordering would not happen if {{enable.idempotent=true}} 

 


> Explain idempotent producer in max.in.flight.requests.per.connection
> --------------------------------------------------------------------
>
>                 Key: KAFKA-10595
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10595
>             Project: Kafka
>          Issue Type: Improvement
>          Components: docs
>            Reporter: Yeva Byzek
>            Priority: Minor
>
> A user asked:
>  
> {quote}Is the idempotent producer also a total order producer? meaning, 
> despite having max.inflight > 1, it will keep message production ordering? My 
> understanding of this has always been no, but I'd like to confirm...
> {quote}
>  
> A contributing factor to the confusion around this scenario is that 
> [https://kafka.apache.org/documentation/#max.in.flight.requests.per.connection]
>  reads
>  
> {quote}Note that if this setting is set to be greater than 1 and there are 
> failed sends, there is a risk of message re-ordering due to retries (i.e., if 
> retries are enabled).
> {quote}
>  
> Suggestion: it may be clearer if we augmented this description to say that 
> message re-ordering would not happen if {{enable.idempotent=true}} 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to