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

KafkaProducer's TransactionManager needs a review on synchronization

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None

    Description

      Currently, the completion handlers are not synchronized, though they access shared state like `partitionsInTransaction`, and `lastError`, `pendingPartitionsToBeaddedToTransaction`, etc.

      We should either make the collections concurrent or synchronize the handlers.

      In general, we need to review this code to ensure that the synchronization is correct.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: