Replies: 7 comments 7 replies
-
The new JetStream API leverages fully the Pull Consumer.
|
Beta Was this translation helpful? Give feedback.
-
Functionally the new JS API has almost all of the functionalities of the old API (the only missing being 'push consumer without a queue group', which in my experience is never (or almost never) needed) and some new ones (e.g. support for acks=none or acks=all). And the performance is in most cases equivalent or better with the new API than with the old one. |
Beta Was this translation helpful? Give feedback.
-
push consumer without a queue group is the easiest way for Choreography SAGA pattern ... sagas on pull-type consumers...srsly? |
Beta Was this translation helpful? Give feedback.
-
@gudron both Push and Pull consumers serve as the API for the same server construct - Consumers. The main difference is how the handle backpressure, by triggering messages requests versus flow control. From user perspective, there is no use-case difference between Please elaborate how those internal differences affect SAGA pattern. |
Beta Was this translation helpful? Give feedback.
-
related to that conversation I think, is it possible to have one publisher message, consumed only by ONE of the available consumers and NOT all of them in a reliable fashion?
|
Beta Was this translation helpful? Give feedback.
-
the consumer ack policy then should NOT be AckExplicitPolicy, correct? I am confused, as WorkQueuePolicy requires AckExplicitPolicy.. I probably have misunderstood the acknowledgement, I was under the impressionion that Ack() mean the message IS completed, but InProgress() would update it expiry and hence prevent delivery to another worker (if the current worker fails) until the worker completes its job and Ack() / DoubleAck() the message to say ok, this one is DONE. |
Beta Was this translation helpful? Give feedback.
-
ok got it, BackOff overrides AckWait consumer settings, my bad, works as intended now. :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello...i am looking for new jetstream API and i cant find replacement flow for old API.
How to create queue-group consumer?
How to create channel based consumer?
How to create push-type consumers?
How to create consumer for one-to-many communication model?
How long NATS community will support for old API?
old API just bttr...sorry
Beta Was this translation helpful? Give feedback.
All reactions