-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Piyush Chaudhari edited this page Aug 19, 2018
·
26 revisions
How to implement spring boot micro service. Pleases follow below step to implements.
- Create Notification Service
- Create Account Create Service
- Create Create Eureka Server
- Register account create service to eureka server
- Register notification service to eureka server
- Create zuul gateway
- Call notification service from account create service
- Run Eureka Server http://localhost:8761
- Run Account Create Service with multiple instance as below:
java -jar -Dserver.port=8080 account-create-service-0.0.1-SNAPSHOT.jar
java -jar -Dserver.port=8081 account-create-service-0.0.1-SNAPSHOT.jar
- Run Notification Service with multiple instance as below:
java -jar -Dserver.port=8082 notification-service-0.0.1-SNAPSHOT.jar
java -jar -Dserver.port=8083 notification-service-0.0.1-SNAPSHOT.jar
- Run zuul gateway http://Dynamic IP ADDRESS:8762