How to Create Eureka Server?
Note : Eureka default port is 8761.
How to use Eureka in Project for Client side Discovery.
Step 1. Must add eureka dependency in pom.xml
Step 2. Add Eureka application property given flowing
server.port=8761
eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false
logging.level.com.netflix.eureka=OFF
logging.level.com.netflix.discovery=OFF
Ref Doc: https://spring.io/guides/gs/service-registration-and-discovery/
Note: We must need to add eureka discovery Clint dependency
Q. How to Use Load balancing?
Q. What is restTemplate and How to use It?
No comments:
Post a Comment