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

Add cluster support via Resolver #163

Merged
merged 1 commit into from
Jun 21, 2024
Merged

Conversation

wazsone
Copy link
Contributor

@wazsone wazsone commented Jun 3, 2024

This adds support for RabbitMQ clusters to connect up to one of a number of servers.

It does this through a Resolver interface which has a single method called Resolve() which can return a list of servers. There is a standard implementation included called StaticResolver that will just take a list of URLS to connect to and optionally shuffle that list.

This interface approach allows for implementers of the library to extend for service discovery or other advanced typologies.

Fixes: #148

Revived this PR #156

Signed-off-by: Ruslan Bayandinov <[email protected]>
@chrisjoyce911
Copy link

This works well for me , would be great to see it merged

@wagslane wagslane merged commit 7fca926 into wagslane:main Jun 21, 2024
1 check passed
@nemith
Copy link

nemith commented Jun 21, 2024

I wish you would have attributed the change to me properly, but glad this made it in.

@wagslane
Copy link
Owner

wagslane commented Jun 21, 2024

I wish you would have attributed the change to me properly, but glad this made it in.

Sorry? I just merged the PR because it looked good... your PR was closed. OP referenced (linked) your PR in his original comment not sure what else should have been done

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.

Support for RabbitMQ Clusters
4 participants