eureka.instance.appname not working with gateway
It seems like gateway can't resolve application registered in eureka server using eureka.instance.appname. In our case we have applications deployed in two different environment (uat and qa) but both will register on one clustered eureka server. We differentiate the applications from two environments using eureka.instance.appname. One is registered as service_app_uat and another one as service_app_qa however the spring.application.name is service.app. Eureka is able to register the app from two different environment just fine but Spring Cloud Gateway can't resolve these two registered instances from eureka. However if we removed the eureka.instance.appname both app from two environments registered as service_app with two instances which we don't want.
Closing in favor of stack overflow. Please don't cross post. https://stackoverflow.com/q/65551489/2730527
Sorry about that, I posted the issue here first hoping you guys would give a more helpful response.
We monitor both. And we're on holiday until tomorrow or Tuesday