News for hackers. Stuff that matters.
Re:Kafka without ZooKeeper by shaklee3 on Wednesday March 31, 2021 @12:52AM (#26643658)
> NATS doesn't ever store messages persistently

Not true. Both Nats streaming and the upcoming jetstream (core nats) do.

Re:Kafka without ZooKeeper by tsimionescu on Wednesday March 31, 2021 @01:10AM (#26643739)
It depends what you mean by 'persistently'. Normally NATS streaming will delete the messages after they have been delivered to all subscribers successsfully and some expiration time has passed.
Re:Kafka without ZooKeeper by shaklee3 on Wednesday March 31, 2021 @09:38AM (#26647120)
The expiration time can be unlimited, just like kafka
Re:Kafka without ZooKeeper by cmckn on Wednesday March 31, 2021 @02:22PM (#26650992)
I'm aware, I was referring to the core binary, `nats-server`. NATS streaming server seems to be still receiving attention, but the client library (for Java) hasn't been committed to since 2019, so I'm not sure I'd build a new project with it. JetStream is out (as of this week, I believe) and is an optional module to `nats-server`, as you said.

To the folks at Synadia -- I love NATS, but the naming and organization of these projects could use some work. What's with the `stan.*` repository names? Where did "jetstream" come from? Why is it baked into `nats-server` but `nats-streaming-server` isn't? Is `nats-streaming-server` on the back burner?

Re:Kafka without ZooKeeper by shaklee3 on Wednesday March 31, 2021 @02:27PM (#26651059)
Stan is nats streaming. The clients don't have to be updated since they're forward compatible since jetstream. NATS streaming will be deprecated after jetstream is GA is my understanding. Is there a bug in the library you found?