[ https://issues.apache.org/jira/browse/KAFKA-7782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16747984#comment-16747984 ]
Lee Dongjin commented on KAFKA-7782: ------------------------------------ [~guozhang] [~hachikuji] Is this a bug, or configuring cleanup policy for `__consumer_offsets` should not be allowed? In fact, I found [a case|https://stackoverflow.com/questions/42546501/the-retention-period-for-offset-topic-of-kafka] which requires this feature. If it is a bug, it seems like tagged with `needs-kip` with later target version. Could you have a look? > cleanup policy for offsets topic should be configurable > ------------------------------------------------------- > > Key: KAFKA-7782 > URL: https://issues.apache.org/jira/browse/KAFKA-7782 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 2.1.0 > Reporter: Nir Barel > Priority: Major > Labels: windows > > Hi, > For offsets topic there is no option to change the log cleanup policy from > compact to delete because it is set hard-coded in code here: > [https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala#L68] > The only way to override it is to alter the topic at runtime which required > to check the settings and set it after every restart of Kafka. > I am suggesting to configure it via properties with a default value of > "compact" > -- This message was sent by Atlassian JIRA (v7.6.3#76005)