Re:Apache Pulsar is an open-source distributed pub-sub messa...
by httgp on Friday January 03, 2020 @12:20PM
(#21947995)
There’s also Liftbridge, which is a Kafka-like pub-sub API built on top of NATS. It is still in development but looks quite promising IMO.
Re:Apache Pulsar is an open-source distributed pub-sub messa...
by DevKoala on Thursday January 02, 2020 @06:47PM
(#21941308)
Thank you for the observation.
Re:Apache Pulsar is an open-source distributed pub-sub messa...
by bauerd on Thursday January 02, 2020 @10:39PM
(#21942899)
Sounds like zeromq to me
Re:Apache Pulsar is an open-source distributed pub-sub messa...
by JensRantil on Friday January 03, 2020 @04:09AM
(#21944402)
Semi-correct observation. You could think of it as a ZeroMQ broker that supports the pub/sub patternz, yes. Difference is it's centralized (with support for HA), adds security, gives you monitoring, supports multi-tenancy and horizontal scaling allowing to connect multiple clusters. Benefit of using broker is that service discovery is a no-op.
Also, NATS has client libraries for many languages that adds request/response semantics on top of the pub/sub semantics.
I have used nats in several different ways but since it can be lossy its never been considered as a replacement for a pub sub message queue on my end. We used it for a chat message layer and that worked pretty well.
As for its message passing layer that can be interesting but you end up writing all the retry and failure logic anyway so its usually just better to use an existing message layer that handles all of that for you anyway without all the funky abstractions.
Again, its interesting but nowhere near close to being a rabbit or pulsar replacement if reliability is a goal.