-
Notifications
You must be signed in to change notification settings - Fork 4
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
Use address for remote calls in vertx clustered event bus #165
Conversation
server/src/main/java/com/flipkart/varadhi/VaradhiApplication.java
Outdated
Show resolved
Hide resolved
This reverts commit c27d282.
@@ -97,6 +98,7 @@ private static Future<Vertx> createClusteredVertx( | |||
EventBusOptions eventBusOptions = new EventBusOptions() | |||
.setHost(memberInfo.hostname()) | |||
.setPort(port) | |||
.setClusterPublicHost(memberInfo.address()) |
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.
in eventbus options, what is host used for if cluster public host is already present?
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.
host will be used for nodeId (internal to vertx) but for actual comms, address will be used.
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
PR changes: