Luke Chen created KAFKA-13718:
---------------------------------

             Summary: kafka-topics create with default config will show 
`segment.bytes` overridden config 
                 Key: KAFKA-13718
                 URL: https://issues.apache.org/jira/browse/KAFKA-13718
             Project: Kafka
          Issue Type: Bug
          Components: tools
    Affects Versions: 3.0.0, 2.8.1, 3.1.0
            Reporter: Luke Chen


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_

 

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

 

 

 

 

 

 

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



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to