Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14402 Transactions Server Side Defense
  3. KAFKA-14916

Fix code that assumes transactional ID implies all records are transactional

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 3.6.0
    • 3.5.0
    • None
    • None

    Description

      KAFKA-14561 wrote code that assumed that if a transactional ID was included, all record batches were transactional and had the same producer ID.

      This work with improve validation and fix the code that assumes all batches are transactional.
      Further, KAFKA-14561 will not assume all records are transactional.

      Originally this ticket had an action item to ensure all the producer IDs are the same in the batches since we send a single txn ID, but that can be done in a followup KAFKA-14958, as we still need to assess if we can enforce this without breaking workloads.

      Attachments

        Issue Links

          Activity

            People

              jolshan Justine Olshan
              jolshan Justine Olshan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: