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 #156

Closed
wants to merge 1 commit into from
Closed

Conversation

nemith
Copy link

@nemith nemith commented Mar 12, 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

@nemith nemith force-pushed the cluster branch 2 times, most recently from 3d0ef11 to c77830d Compare March 12, 2024 20:53
@nemith
Copy link
Author

nemith commented Mar 22, 2024

I went ahead and wrote my own wrapper that has this and does things slightly different. No longer have a strong requirement for this.

@nemith nemith closed this Mar 22, 2024
@nemith nemith deleted the cluster branch March 22, 2024 22:45
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
1 participant