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

Producer request and response classes should use maps

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:

      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 Koshy
        2. KAFKA-391-v3.patch
          115 kB
          Joel Koshy
        3. KAFKA-391-v2.patch
          79 kB
          Joel Koshy
        4. KAFKA-391-draft-r1374069.patch
          37 kB
          Joel Koshy

          Activity

            People

            • Assignee:
              jjkoshy Joel Koshy
              Reporter:
              jjkoshy Joel Koshy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: