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

feat(go)!: allow serving with queue group #259

Conversation

brooksmtownsend
Copy link
Contributor

This PR adds a new function NewClientWithQueueGroup to the wRPC Go NATS client that, when a queue group is provided, will serve on a queue group rather than just a regular subscribe. This will allow users of the NATS client to run multiple services that serve the same functionality without duplication.

I could've just added this to the NewClient function, but I figured I'd avoid the breaking change there and simply add another constructor. Open to changing this back if desired

Copy link
Member

@rvolosatovs rvolosatovs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rvolosatovs rvolosatovs added this pull request to the merge queue Aug 21, 2024
Merged via the queue into bytecodealliance:main with commit 5f44083 Aug 21, 2024
25 checks passed
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

Successfully merging this pull request may close these issues.

2 participants