← Back to context

Comment by v5v3

1 day ago

Isn't Kafka the Postgresql of pub/sub

I.e. use Kafka unless you have a explicit reason not to?

So why Nats?

After working with NATS, I wouldn't want to touch Kafka even with a long stick. Its just too complex and a memory hog for no good reason. It doesn't have all the features that NATS supports as well.

Kafka is far from trivial to operate, for one thing, even post zookeeper.

  • And it's kinda wrong to use as a queue (in most cases), being a log stream you can seek in.