Subscriptions #7934
-
|
Hello, I am wondering if Nats can perform what I would like to do in my project: members of a consortium should all read messages in given subject. With a message broker such as PubSub or Kafka, each member would subscribe on given topic with a different subscription, so that a message in this topic is delivered to all members. But in Nats I have found nothing like subscription to a topic. If a member reads and acknowledges a message with Work-Queue configuration, other members can't... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You probably want the In the |
Beta Was this translation helpful? Give feedback.
You probably want the
InterestorLimitsstream retention policy and for each of your members to have their own consumer on that stream.In the
Interestcase, the message will be retained until all consumers have acked it, at which point it is removed. In theLimitscase, the message is kept until you hit yourMaxAgeor other limits.