Jun Rao created KAFKA-19080: ------------------------------- Summary: The constraint on segment.ms is not enforced at topic level Key: KAFKA-19080 URL: https://issues.apache.org/jira/browse/KAFKA-19080 Project: Kafka Issue Type: Bug Components: core Affects Versions: 4.0.0 Reporter: Jun Rao
[https://cwiki.apache.org/confluence/display/KAFKA/KIP-1030%3A+Change+constraints+and+default+values+for+various+configurations] sets a new constraint (at least 1MB) on segment.bytes. This is implemented in [https://github.com/apache/kafka/pull/18140.] However, it doesn't seem to be enforced at the topic level. {code:java} 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} {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)