Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4970

Add a 'ProducerIdResource' to enable authorization for generating producer ids

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            apurva Apurva Mehta
            apurva Apurva Mehta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: