-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
Description
According to the official doc Kafka log compaction could be used to delete messages from the log:
Compaction also allows from deletes. A message with a key and a null payload will be treated as a delete from the log. This delete marker will cause any prior message with that key to be removed (as would any new message with that key), but delete markers are special in they will themselves be cleaned out of the log after a period of time.
But now there's a limitation in the code that doesn't allow to pass null payloads, so the deletion feature doesn't work at all. Was it done by purpose for some reasons or I can prepare a short PR to fix it?