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

MetadataRequest don't support autoCreateTopic below version 4.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Bug
    • None
    • None
    • clients
    • None

    Description

      This line of MetadataRequest.

      ''if (!allowAutoTopicCreation && version < 4)" should remove "!".

      Location: https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/common/requests/MetadataRequest.java#L110

      I hope that I am not mistaken. 

      As a Java beginner

      Attachments

        Activity

          People

            Unassigned Unassigned
            j2gg0s Yanjie Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: