--configuration in main class @EnableDiscoveryClient --Configuration in application.properties spring.application.name=api-gateway server.port=8082 eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka spring.cloud.gateway.discovery.locator.enabled=true spring.cloud.gateway.discovery.locator.lowerCaseServiceId=true --Dependencies Gateway Spring Reactive Web Eureka Discovery Client --Add Environmnet Variable From Environment Class getProperties
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter