You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jeff Kim (Jira)" <ji...@apache.org> on 2023/07/18 15:51:00 UTC
[jira] [Created] (KAFKA-15207) ProducerIdManager#generateProducerId() should return different error code for newer clients
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)