junrao commented on PR #18140:
URL: https://github.com/apache/kafka/pull/18140#issuecomment-2758776560

   @jayteej : Thanks for the PR and sorry for chiming in late. The KIP 
https://cwiki.apache.org/confluence/display/KAFKA/KIP-1030%3A+Change+constraints+and+default+values+for+various+configurations
 says that the new constraint applies at the topic level. I tried the following 
on 4.0/trunk and it seems that the constraint isn't really applied at the topic 
level?
   
   ```
   bash-3.2$ bin/kafka-configs.sh --alter --bootstrap-server localhost:9092 
--topic test --add-config segment.bytes=1000
   Completed updating config for topic test.
   bash-3.2$ bin/kafka-configs.sh --describe --bootstrap-server localhost:9092 
--topic test
   Dynamic configs for topic test are:
     segment.bytes=1000 sensitive=false 
synonyms={DYNAMIC_TOPIC_CONFIG:segment.bytes=1000, 
STATIC_BROKER_CONFIG:log.segment.bytes=1073741824, 
DEFAULT_CONFIG:log.segment.bytes=1073741824}
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to