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

Producer request and response classes should use maps

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.8.0
    • None

    Description

      Producer response contains two arrays of error codes and offsets - the ordering in these arrays correspond to the flattened ordering of the request arrays.

      It would be better to switch to maps in the request and response as this would make the code clearer and more efficient (right now, linear scans are used in handling producer acks).

      We can probably do the same in the fetch request/response.

      Attachments

        1. KAFKA-391-v4.patch
          125 kB
          Joel Jacob Koshy
        2. KAFKA-391-v3.patch
          115 kB
          Joel Jacob Koshy
        3. KAFKA-391-v2.patch
          79 kB
          Joel Jacob Koshy
        4. KAFKA-391-draft-r1374069.patch
          37 kB
          Joel Jacob Koshy

        Activity

          People

            jjkoshy Joel Jacob Koshy
            jjkoshy Joel Jacob Koshy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: