[ 
https://issues.apache.org/jira/browse/KAFKA-13718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545616#comment-17545616
 ] 

Richard Joerger commented on KAFKA-13718:
-----------------------------------------

Hey everybody. Sorry for the radio silence on this. I actually came to the 
identical conclusion that [~hachikuji] came to and was spending time stepping 
through the request handling on the broker side to figure how it is being read 
in so that I could possible make a larger code.  Interestingly enough, 
[~showuon] , I found that if I remove the "log" prefix, I stop seeing that 
value in the topic config output so I'm not quite sure what the explanation is 
on that one. The one major difference I noticed though is that when running the 
TopicCommandIntegrationTest suite, I found that the value for the segment.bytes 
field is being returned as a default topic configuration. I'm not sure if 
commenting out the value will have any effect on the test suite, but I'll give 
it a shot and see if the tests report differently. 

 

Thanks everybody!

> kafka-topics describe topic 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.1.0, 2.8.1, 3.0.0
>            Reporter: Luke Chen
>            Assignee: Richard Joerger
>            Priority: Major
>              Labels: newbie, newbie++
>
> 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]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to