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

Updates to Armeria 1.27.1 and fixes Eureka VIP registration bug #3715

Merged
merged 4 commits into from
Feb 7, 2024

Conversation

codefromthecrypt
Copy link
Member

This updates to latest Armeria 1.27.0, which removes some tech debt. This also fixes a bug in the default behavior of Armeria, which is that it sets a host:port value for the VIP address in Eureka. While the instanceId needs to be qualified with port, the VIP address must not, as there's already a port field.

cc @openzipkin/armeria

This updates to latest Armeria 1.27.0, which removes some tech debt.
This also fixes a bug in the default behavior of Armeria, which is that
it sets a `host:port` value for the VIP address in Eureka. While the
`instanceId` needs to be qualified with port, the VIP address must not,
as there's already a port field.

Signed-off-by: Adrian Cole <[email protected]>
Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt
Copy link
Member Author

tomorrow I'll raise a PR on the armeria side about the bad default on vipAddress, which shouldn't be host like http host header, rather a host like dns hostname.

Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt
Copy link
Member Author

line/armeria#5451 should fix upstream

@@ -60,7 +59,8 @@
"zipkin.storage.type=", // cheat and test empty storage type
"zipkin.collector.http.enabled=false",
"zipkin.query.enabled=false",
"zipkin.ui.enabled=false"
"zipkin.ui.enabled=false",
"zipkin.discovery.eureka.hostname=localhost"
Copy link
Member Author

Choose a reason for hiding this comment

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

I ran ./gradlew install from line/armeria#5451 and set the armeria version to what it produced (1.27.2-SNAPSHOT). Then, I removed this property and the results of the tests were expected, with my machine's hostname in the instanceId (along with the port), and my machine's hostname without the port as the vipAddress

Signed-off-by: Adrian Cole <[email protected]>
@codefromthecrypt codefromthecrypt changed the title Updates to Armeria 1.27.0 and fixes Eureka VIP registration bug Updates to Armeria 1.27.1 and fixes Eureka VIP registration bug Feb 7, 2024
@codefromthecrypt codefromthecrypt merged commit d22f91f into master Feb 7, 2024
13 checks passed
@codefromthecrypt codefromthecrypt deleted the eureka-bug branch February 7, 2024 16:01
@codefromthecrypt
Copy link
Member Author

Thanks for the review @reta!

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