You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Viktor Somogyi-Vass (Jira)" <ji...@apache.org> on 2019/11/06 15:24:00 UTC

[jira] [Created] (KAFKA-9154) ProducerId generation should be managed by the Controller

Viktor Somogyi-Vass created KAFKA-9154:
------------------------------------------

             Summary: ProducerId generation should be managed by the Controller
                 Key: KAFKA-9154
                 URL: https://issues.apache.org/jira/browse/KAFKA-9154
             Project: Kafka
          Issue Type: Sub-task
          Components: core
            Reporter: Viktor Somogyi-Vass


Currently producerIds are maintained in Zookeeper but in the future we'd like them to be managed by the controller quorum in an internal topic.
The reason for storing this in Zookeeper was that this must be unique across the cluster. In this task it should be refactored such that the TransactionManager turns to the Controller for a ProducerId which connects to Zookeeper to acquire this ID. Since ZK is the single source of truth and the PID won't be cached anywhere it should be safe (just one extra hop added).



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