-
Notifications
You must be signed in to change notification settings - Fork 645
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
AMQ: multiple hosts in AmqpDetailsConnectionProvider #1772
Conversation
Hi @EldarKZ16, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
@@ -203,6 +203,9 @@ object AmqpDetailsConnectionProvider { | |||
def apply(host: String, port: Int): AmqpDetailsConnectionProvider = | |||
new AmqpDetailsConnectionProvider(immutable.Seq(host -> port)) | |||
|
|||
def apply(hostAndPorts: immutable.Seq[(String, Int)]): AmqpDetailsConnectionProvider = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add it to the Java API with j.u.Collection<akka.japi.Pair<String, Integer>>
, as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add some conversion logic...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I forgot, sorry about this. Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, your change is adapting the wrong data.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm Junior Backend developer :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Thank you! Keep the improvements coming. |
Purpose
Create AmqpDetailsConnectionProvider with multiple hosts and ports
References
References #xxxx
Changes
Background Context