[ 
https://issues.apache.org/jira/browse/KAFKA-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983276#comment-15983276
 ] 

Apurva Mehta commented on KAFKA-4970:
-------------------------------------

This is different. This is to make the  'producerId' itself a resource whether 
or not transactions are being used. The main motivation is to ensure that only 
authorized clients can set pids and sequence numbers in their messages, which 
is different from authorizing transactional clients, which is the only thing 
the KIP currently deals with.

> 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)

Reply via email to