Closed daviyang35 closed 4 years ago
feature request
ENV When i using FeignClient with nacos discovery. like this:
@FeignClient(name = "OPEN-SERVICE") public interface OpenService { // ... }
Service instance spring.application.name set is "open-service".
Behavior
Hope to be consistent with Eureka's behavior and not sensitive to the case of the service name. Reduce the difficulty of migrating from Eureka.
I found this behavior on 2 env.
I found a solution. Gateway service add this config.
spring: cloud: gateway: discovery: locator: enabled: true lower-case-service-id: true
Issue Description
feature request
Describe what happened (or what feature you want)
ENV When i using FeignClient with nacos discovery. like this:
Service instance spring.application.name set is "open-service".
Behavior
Describe what you expected to happen
Hope to be consistent with Eureka's behavior and not sensitive to the case of the service name. Reduce the difficulty of migrating from Eureka.
How to reproduce it (as minimally and precisely as possible)
Tell us your environment
I found this behavior on 2 env.
Anything else we need to know?