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

ASF GitHub Bot commented on KAFKA-7517:
---------------------------------------

stanislavkozlovski opened a new pull request #5816: KAFKA-7517: Add whitelist 
to Range config validator. Ensure retention bytes cannot be 0
URL: https://github.com/apache/kafka/pull/5816
 
 
   By adding a whitelist option to the `Range` config validator we can ensure 
that certain configs can still use their special value of -1 while not being 
less than a certain value

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Add a minimum retention.bytes config value
> ------------------------------------------
>
>                 Key: KAFKA-7517
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7517
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Stanislav Kozlovski
>            Assignee: Stanislav Kozlovski
>            Priority: Minor
>
> Some configs like `log.retention.bytes` make no sense to have values of 0 - 
> every log has a size of 0 upon creation and therefore every log should be 
> deleted in this case.
> It would be useful to have some sort of guard, as limited as it could be, to 
> help users not shoot themselves in the foot as easily (either by manual 
> misconfiguration or some external tool (e.g k8s configmap
> ))



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to