[ https://issues.apache.org/jira/browse/KAFKA-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946333#comment-15946333 ]
Apurva Mehta commented on KAFKA-4970: ------------------------------------- cc [~junrao] [~hachikuji] -- this is based on our discussion. > Add a 'ProducerIdResource' to enable authorization for generating producer ids > ------------------------------------------------------------------------------ > > Key: KAFKA-4970 > URL: https://issues.apache.org/jira/browse/KAFKA-4970 > Project: Kafka > Issue Type: Improvement > Reporter: Apurva Mehta > Assignee: Apurva Mehta > > With the KIP-98 idempotent producer, we introduce a new `InitPidRequest` > which is called by a producer to get a producer id which is used to > deduplicate messages on the broker. The broker will allocate a new producer > id upon the receipt of this request and return it to the client. > Currently, there is no authorization on the producer Id space. It would be > good to add a producer id resource. This would mean that only authorized > clients would get pids, and only authorized clients would be able to send > messages which set the pid and sequence number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)