Κυριακή 1 Δεκεμβρίου 2024

Microservices with Spring Cloud

MICROSERVICES WITH SPRING CLOUD





CONFIG - EUREKA - GATEWAY - BOOK-SERVICE





CONFIG SERVER


We centralize all application properties of business microservices, plus Eureka and Gateway


       Simple business service              

         book-service properties:




    Eureka / Discovery Server:
     All services register here. When service1 looks for service2, it looks up Eureka server           first.

     Eureka server properties:



   Gateway server:
    Provides one unified "gateway" / reverse proxy for our clients to make easy requests to        services, without complex configurations or CORS issues.
           
    Gateway server properties:




EUREKA 


 bootstrap.properties:





BOOK-SERVICE 


 bootstrap.properties:






GATEWAY


 bootstrap.properties:




Gateway uses Eureka (service discovery). 
This allows the gateway to dynamically resolve service instances.

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου

What may be missing, or could get better?