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

Avoid unnecessary PID reset when expire batches.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0.0
    • None
    • producer
    • None

    Description

      This is more of an efficiency optimization. Currently we will reset PID when batch expiration happens and one of the expired batches is in retry mode. This is assuming that we don't know if the batch in retry has been appended to the broker or not. However, if the batch was in retry due to a retriable exception returned by the broker, the batch is not appended. In this case, we do not need to reset the PID.

      Attachments

        Activity

          People

            Unassigned Unassigned
            becket_qin Jiangjie Qin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: