spring cloud service discovery code example
Example 1: eureka discovery server spring boot example
eureka:
client:
registerWithEureka: false
fetchRegistry: false
server:
port: 8761
Example 2: spring service discovery
eureka:
instance:
statusPageUrlPath: ${server.servletPath}/info
healthCheckUrlPath: ${server.servletPath}/health