Skip to content

Are Jetstream push subscribers completely deprecated? #652

Answered by aricart
rafsawicki asked this question in General
Discussion options

You must be logged in to vote

The push subscriber will remain there, however you should not use it - the new consumers abstraction - https://github.com/nats-io/nats.deno/blob/main/jetstream.md#consuming-messages does exactly what you want, but it does it behind a pull consumer. In terms of your code, it will feel like a push, but will have all the benefits of a pull consumer. Use this instead please.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aricart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants