News for hackers. Stuff that matters.
Re:Kafka without ZooKeeper by andrewmutz on Tuesday March 30, 2021 @08:14PM (#26642106)
Does NATS support (or plan to support) log compaction? Without that, it's very hard to replace Kafka.
Re:Kafka without ZooKeeper by cmckn on Tuesday March 30, 2021 @08:42PM (#26642288)
I"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...

Re:Kafka without ZooKeeper by shaklee3 on Wednesday March 31, 2021 @12:55AM (#26643670)
Yes, jetstream allows setting max messages to 1 in a stream.