Kafka
  1. Kafka
  2. KAFKA-391

Producer request and response classes should use maps

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker 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.

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development