If i understand correctly, the default value for cleanup.policy
is delete, which means that old segments will be discarded when their retention time or size limit by configure log.retention.hours
and log.retention.bytes
.
Q:
Is that correct that in this case can be several messages with the same key in the log with different values? what happens to messages with null
value (Tombstones?), this is also the default value?
If so, if I understand correctly then here comes the delete
cleanup policy, which defines per-record retention which is configured by delete.retention.ms
, this both guarantees last key existence and also will remove all messages with null
value?
Q:
If so, what can I still see messages with
null
value even whendelete.retention.ms
is configured to be1ms
?Which configuration should I change in order to delete all messages in the log? is it possible?
Is
retention.ms
anddelete.retention.ms
connected on some way? if so - on which retention policy and how?
Thanks!