Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4815 Idempotent/transactional Producer (KIP-98)
  3. KAFKA-5271

Producer only needs to send AddOffsetsToTxn one time for each group

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • clients, core, producer
    • None

    Description

      Currently we send the AddOffsetsToTxn request every time the user calls sendOffsets. We really only need to send it one time for each groupId included in the transaction. This is a minor optimization since we don't expect that it would be a common use case to add offsets more than once to a transaction.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hachikuji Jason Gustafson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: