Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[watermill-nats] new jetstream API #373

Open
AlexCuse opened this issue Jul 26, 2023 · 1 comment
Open

[watermill-nats] new jetstream API #373

AlexCuse opened this issue Jul 26, 2023 · 1 comment

Comments

@AlexCuse
Copy link
Contributor

Add a new pull subscribe option and target separately using eg https://natsbyexample.com/examples/jetstream/api-migration/go

I expect existing callback-based implementations will continue to work at least until v2 of the nats.go client is out. But batching pull subscribers should achieve better throughput in scenarios where order isn't terribly important.

@AlexCuse
Copy link
Contributor Author

There are some changing semantics here. Eg queue groups are achieved through multiple pull subscriptions to the same broker-managed consumer. Maybe implementing as a separate PullSubscriber that has its own config makes sense to avoid any weirdness.

@AlexCuse AlexCuse changed the title [watermill-nats] new pull subscriber API [watermill-nats] new jetstream API Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant