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

kafka-topics describe topic with default config will show `segment.bytes` overridden config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0, 2.8.1, 3.0.0
    • 3.3.0
    • tools

    Description

      Following the quickstart guide[1], when describing the topic just created with default config, I found there's a overridden config shown:

      > bin/kafka-topics.sh --describe --topic quickstart-events --bootstrap-server localhost:9092

      Topic: quickstart-events   TopicId: 06zRrzDCRceR9zWAf_BUWQ    PartitionCount: 1    ReplicationFactor: 1    Configs: segment.bytes=1073741824
          Topic: quickstart-events    Partition: 0    Leader: 0    Replicas: 0    Isr: 0

       

      This config result should be empty as in Kafka quick start page. Although the config value is what we expected (default 1GB value), this info display still confuse users.

       

      Note: I checked the 2.8.1 build, this issue also happened.

       

      [1]: https://kafka.apache.org/quickstart

      Attachments

        Issue Links

          Activity

            People

              rjoerger Richard Joerger
              showuon Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: