[ https://issues.apache.org/jira/browse/KAFKA-19112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944413#comment-17944413 ]
Chia-Ping Tsai commented on KAFKA-19112: ---------------------------------------- {quote}Replying on empty cleanup.policy seems redundant and unintuitive. {quote} Users need to set both retention.ms and retention.bytes to -1 to ensure the infinite retention, and I preferred to use one button to address it. However, I agree the "empty" list is unintuitive, so +1 to disallow the empty config. > cleanup.policy shouldn't be empty > --------------------------------- > > Key: KAFKA-19112 > URL: https://issues.apache.org/jira/browse/KAFKA-19112 > Project: Kafka > Issue Type: Bug > Components: core > Reporter: Jun Rao > Assignee: 黃竣陽 > Priority: Major > Labels: need-kip > > Currently, we allow a user to set cleanup.policy to be an empty list, which > shouldn't be allowed. A few other configs of List type such as > group.coordinator.rebalance.protocols and process.roles have the same > problem. -- This message was sent by Atlassian Jira (v8.20.10#820010)