4 ms·
Does NATS support (or plan to support) log compaction? Without that, it's very hard to replace Kafka.
by andrewmutz 6y ago
Does NATS support (or plan to support) log compaction?
Without that, it's very hard to replace Kafka.
- cmckn 6y agoI"m not sure I understand your question; NATS streaming server (built on top of NATS) supports persistence to disk, a raft group, a SQL table, etc. and it appears the various storage implementations have mechanisms [0] to delete or compress old data. That being said, I don't think this is what differentiates the two systems, the guarantees they do/don't make are likely what will make the decision for your project. [0]: https://github.com/nats-io/nats-streaming-server/blob/master/stores/store.go#L71 https://github.com/nats-io/nats-streaming-server/blob/master...
- shaklee3 6y agoYes, jetstream allows setting max messages to 1 in a stream.