These are chat archives for spring-cloud/spring-cloud

15th
Jun 2018
Hullaert Christof
@cHullaert
Jun 15 2018 01:18
hi, is there a difference when using @Router annotation on method expecting the payload of the message ? Because each time, an exception tells me it can't be find the method with a string param.
ghoddg
@ghoddg
Jun 15 2018 06:22
Hi.. will the spring-cloud-gateway work with jetty?
David J. M. Karlsen
@davidkarlsen
Jun 15 2018 08:34
what is the ETA for spring-cloud 2.x release?
Marcos Barbero
@marcosbarbero
Jun 15 2018 08:35
AFAIK it's today
Jose Armesto
@fiunchinho
Jun 15 2018 10:05

using spring cloud kubernetes adds the kubernetes profile when running on kubernetes, but this profile doesn't do anything by itself, it's just so we can add Beans that we want to enable only when running on kubernetes, right?

any one?

David J. M. Karlsen
@davidkarlsen
Jun 15 2018 10:27
@marcosbarbero yay!
Spencer Gibb
@spencergibb
Jun 15 2018 14:29
@ghoddg not at this moment
@davidkarlsen working thru some sonatype issues
mohanrao
@mohanrao
Jun 15 2018 16:16
@spencergibb Is Fiinchley going to be released today ? :) I am eagerly waiting
Spencer Gibb
@spencergibb
Jun 15 2018 16:17
working thru some sonatype issues
mohanrao
@mohanrao
Jun 15 2018 16:18
@spencergibb Awesome. Want to go with production in 15 days. convinced my management to modify the App to code on RC1.
In the enterprise people always has a concern to use with RC's :(
Jose Armesto
@fiunchinho
Jun 15 2018 18:52
are there benefits on using spring boot admin instead of the eureka dashboard?
Marcos Barbero
@marcosbarbero
Jun 15 2018 18:54
Eureka dashboard is just a static list of your microservices, SBA has a lot more features
Jose Armesto
@fiunchinho
Jun 15 2018 18:55
I guess I need more configuration? I just started it and I see just a list of services
with links to the url's registered on eureka for these services
I'm using the eureka starter to make the spring boot admin discover the other services
Jose Armesto
@fiunchinho
Jun 15 2018 19:00
btw Marcos, can you help me out here ? spring-cloud/spring-cloud-netflix#2964 not sure what I'm being asked
Marcos Barbero
@marcosbarbero
Jun 15 2018 19:00
I do believe you gonna find more support on their own channel https://gitter.im/codecentric/spring-boot-admin
Let me check it
Marcos Barbero
@marcosbarbero
Jun 15 2018 19:07
so @fiunchinho , as Ryan Baxter pointed, you have some misconfiguration between region and availability-zones, they need to match, otherwise it won't work. That's basically it
if you check my blog post about HA and zone-affinity, you will find out the region and the availability-zones always match.
http://blog.marcosbarbero.com/ha-and-zone-affinity-spring-cloud-eureka/
Jose Armesto
@fiunchinho
Jun 15 2018 19:11
I'll read it, thanks
I thought they wouldn't match because they are different things
there are no regions called eu-west-1a
just eu-west-1
Marcos Barbero
@marcosbarbero
Jun 15 2018 19:12
for configuration wise, it's just a string
and it needs to match
Jose Armesto
@fiunchinho
Jun 15 2018 19:58
@marcosbarbero the AZ eu-west-1a is the one I added trying to fix the issue, it wasn't there when the issue was happening
so there was no mismatch when the misbehaviour was taking place
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:03
but still, your configuration says region: eu-west-1 and the availability-zones says eu-west-1b
Jose Armesto
@fiunchinho
Jun 15 2018 20:03
no, it doesn't, that's what I'm trying to say hehe
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:04
:D
I'm confused then haha
Jose Armesto
@fiunchinho
Jun 15 2018 20:04
image.png
that's my problem
I'm not setting any availability-zones
after hitting that problem, I tried doing it, but it's not relevant: the problem was there before setting the availability-zones
you know what I'm saying?
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:06
I think I got it now
maybe, that property is automagically set once you're deploying it to aws, just guessing
Jose Armesto
@fiunchinho
Jun 15 2018 20:06
setting the AZ's seems to have helped, so having it not matching actually helped mitigating the issue
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:07
and it mismatch the region
Jose Armesto
@fiunchinho
Jun 15 2018 20:07
when I set it manually to eu-west-1a, it helps, so making region and availability-zones to not match, helps
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:08
how does it help?
Jose Armesto
@fiunchinho
Jun 15 2018 20:08
the load balancing starts working, as I explain in the issue
so if deploying on aws automagically sets AZ's, and they don't match with the region, that would mean the problem wouldn't appear in the first place
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:11
I need to get an aws account myself and try it out, for now it will be only guessing
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:11
what I can tell you, it should match, at least that's how it works if you try to configure a zone-affinity
Jose Armesto
@fiunchinho
Jun 15 2018 20:11
but I don't want to configure zone-affinity
just get basic load balancing :(
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:12
I know, but it shouldn't matter, after all, you get it for free
Jose Armesto
@fiunchinho
Jun 15 2018 20:12
it shouldn't
:)
Marcos Barbero
@marcosbarbero
Jun 15 2018 20:13
well, maybe tomorrow or sunday I'll have few time to try it out using an aws account
Jose Armesto
@fiunchinho
Jun 15 2018 20:14
we reproduce it trying to register application instances in AWS and an app instance running on a laptop
in that case, all calls to that specific app went to the instance in the laptop
when deregistering the laptop instance from eureka, load balancing started working fine between instances running on aws
so just you know what to try
Marcos Barbero
@marcosbarbero
Jun 15 2018 21:06
Where was the gateway hosted?