I'm trying to test tombstoning messages using the kafka cli. These are some of my kafka server properties:
log.cleaner.enable=true
log.cleaner.min.cleanable.ratio=0.1
log.segment.bytes=4000
log.cleanup.policy=compact
log.cleaner.delete.retention.ms=10000
Log compaction is working fine; however, the log cleaner is not removing tombstoned messages. Here's how I'm generating the null message
kafka-console-producer --broker-list local.docker:9092 --topic CONSTITUENT --property parse.key=true --property key.separator=###
testkey###
After log compaction runs (and after when I believe that tombstone entries should have been deleted), I still see this empty message in the logs (among other log entries)
kafka-console-consumer --zookeeper local.docker:2181 --topic CONSTITUENT --from-beginning --property print.key=true
testkey
Is this the correct way to produce a tombstone using the kafka cli? If not, I'm looking for feedback on how to do this.
thanks!!