This document provides an overview of the architecture of a Company application, implementing microservices through Spring Cloud. The system is composed of several components to ensure scalability, resilience, and modularity.
The application is divided into various microservices, each responsible for a specific domain. The diagram above illustrates the high-level architecture.
Spring Cloud Gateway serves as the entry point for routing traffic to the appropriate microservices.
Eureka facilitates service discovery, allowing microservices to find and communicate with each other dynamically.
Centralized configuration management provided by Spring Cloud Config enables efficient modification of application settings.
Resilience4j acts as a circuit breaker, enhancing the application's ability to handle failures gracefully.
The Employee microservice manages information related to employees.
The Organization microservice handles information related to organizations.
The Department microservice is responsible for managing department-related information.
All microservices utilize MySQL as the database for storing and retrieving data.