Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
It looks like delete policy needs to be set to either delete or compact:
.define(CleanupPolicyProp, LIST, Defaults.CleanupPolicy, ValidList.in(LogConfig.Compact, LogConfig.Delete), MEDIUM, CompactDoc, KafkaConfig.LogCleanupPolicyProp)
Neither is correct for KRaft topics. KIP-630 talks about adding a third policy called snapshot:
The __cluster_metadata topic will have snapshot as the cleanup.policy.
Attachments
Issue Links
- relates to
-
KAFKA-14238 KRaft replicas can delete segments not included in a snapshot
- Resolved