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

AdminClient listOffsets fail with old Kafka Broker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • clients
    • None

    Description

      The implementation of KAFKA-5291 introduced a check for old Brokers compatibility falling back to true in MetadataRequest allowAutoTopicCreation field for some operations like describeTopics.

      Then, after that backward-compatibility changes, more methods were added to AdminClient like listOffsets KIP-396 which unfortunately don't have compatibility with old Brokers into account. One might argue that, given that new methods were not present previously, it's not a compatibility break. While this is strictly true, I believe that one of Kafka Clients' most appreciated feature is the ability to use old Brokers with new Clients.

      I've prepared a small PR to fix for this, following the same approach used in KAFKA-5291.

       

      Attachments

        Issue Links

          Activity

            People

              aartigao Alan Artigao Carreño
              aartigao Alan Artigao Carreño
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: