Replies: 4 comments
-
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.
-
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