Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1927 Replace requests in kafka.api with requests in org.apache.kafka.common.requests
  3. KAFKA-2195

Add versionId to AbstractRequest.getErrorResponse and AbstractRequest.getRequest

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:
      None

      Description

      This is needed to support versioning.
      1) getRequest: to parse bytes into correct schema you need to know it's version; by default it's the latest version (current_schema)

      2) getErrorResponse: after filling map with error codes you need to create respective Response message which dependes on versionId

        Attachments

        1. KAFKA-2195.patch
          28 kB
          Andrii Biletskyi
        2. KAFKA-2195_2015-05-24_22:48:55.patch
          49 kB
          Andrii Biletskyi
        3. KAFKA-2195_2015-06-15_09:54:53.patch
          55 kB
          Andrii Biletskyi
        4. KAFKA-2195_2015-06-16_22:28:19.patch
          66 kB
          Andrii Biletskyi

          Issue Links

            Activity

              People

              • Assignee:
                abiletskyi Andrii Biletskyi
                Reporter:
                abiletskyi Andrii Biletskyi
                Reviewer:
                Jun Rao
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: