Jeff Kim created KAFKA-15207:
--------------------------------

             Summary: ProducerIdManager#generateProducerId() should return 
different error code for newer clients
                 Key: KAFKA-15207
                 URL: https://issues.apache.org/jira/browse/KAFKA-15207
             Project: Kafka
          Issue Type: Task
            Reporter: Jeff Kim


[https://github.com/apache/kafka/pull/13267] made changes to ProducerIdManager 
that does not block request handler threads while waiting for a new producer id 
block. Instead of blocking, we return COORDINATOR_LOAD_IN_PROGRESS.

 

We return this rather than REQUEST_TIMED_OUT since older clients treat the 
error as fatal when it should be retriable like COORDINATOR_LOAD_IN_PROGRESS.

 

For newer clients, we should return an error that is more aligned with what the 
client experiences.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to