Appendix B SAmple Code Microservices Components Microservices components are comprised of Config Server, Eureka Discovery server, and services components such as account and transaction services, and gateway services, as shown in Figure B-18. The user sends a request to integrator services (API gateway); the API gateway is responsible for redirecting the request to microservices instances. Integration Service Directory IntegrationConfigServer (Eureka Discovery (Config server) server) User 1 Integrator Service (API Gateway services) User 2 accountService transactionService (Services (Services Component) Component) Instance 1 Instance 1 accountService transactionService User 3 (Services (Services Component) Component) Instance 2 Instance 2 accountService transactionService (Services (Services Component) Component) Instance n Instance n Figure B-18. Microservices components Config Server: This server helps you to keep the properties file centralized and shared by all microservices and manage all the microservices properties files; those files are version controlled using Git. One thing to remember is that every microservice communicates with Config Server to get properties values. 358

Building Digital Experience Platforms - Page 368 Building Digital Experience Platforms Page 367 Page 369