Reputation: 5135
There are two parameters to config the Kafka cleanup policy.
cleanup.policy
log.cleanup.policy
What's the difference between them?
Confluent Platform: Topic Configurations
Upvotes: 0
Views: 187
Reputation: 191844
As it says "Server Default Property" - log.cleanup.policy
is a broker setting and is the default for all topics
cleanup.policy
is a topic setting used for a specific topic
The docs are also wrong (at least, the table). Valid values are ['compact', 'delete', 'compact,delete']
- KIP-71
Upvotes: 1