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

Replace requests in kafka.api with requests in org.apache.kafka.common.requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The common package introduced a better way of defining requests using a new protocol definition DSL and also includes wrapper objects for these.

      We should switch KafkaApis over to use these request definitions and consider the scala classes deprecated (we probably need to retain some of them for a while for the scala clients).

      This will be a big improvement because
      1. We will have each request now defined in only one place (Protocol.java)
      2. We will have built-in support for multi-version requests
      3. We will have much better error messages (no more cryptic underflow errors)

      Attachments

        1. KAFKA-1927.patch
          20 kB
          Gwen Shapira

        Issue Links

          Activity

            People

              gwenshap Gwen Shapira
              jkreps Jay Kreps
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: