kafka-journal
kafka-journal copied to clipboard
rework algorithm in `Batch` to reduce variability and increases readability
Rework logic in Batch as next step for #676
Idea is as fallows:
- drop all actions before
purge - keep single
deleteaction - the most recent one - drop would be discarded
appendactions - batch non-discarded
appendactions - apply them in order:
purge,appends,delete