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

Offset response does not support two requests for the same topic/partition combo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.8.2.0
    • None
    • None

    Description

      When performing an OffsetRequest, if you request the same topic and partition combination in a single request more than once (for example, if you want to get both the head and tail offsets for a partition in the same request), you will get a response for both, but they will be the same offset.

      We identified that the problem is that when the offset response is assembled, a map is used to store the offset info before it is converted to the response format and sent to the client. Therefore, the second request for a topic/partition combination will overwrite the offset from the first request.

      Attachments

        Activity

          People

            sriharsha Harsha
            toddpalino Todd Palino
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: