Skip to content

Spring Cloud Config within a microservices architecture to externalize the configuration management for distributed applications. Spring Cloud Config allows you to manage the configurations of microservices in a centralized manner, which is essential in dynamic, cloud-based, or distributed systems.

Notifications You must be signed in to change notification settings

Aliabbos-Ashurov/spring-cloud-config-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices Architecture for User and Notification Management

This repository contains a microservices-based project that demonstrates the implementation of a Cloud-Config User Service and a Notification Service using Spring Boot, Eureka Discovery Server, and MongoDB/PostgreSQL. The system leverages Feign Clients for inter-service communication and integrates with Eureka Server for service registration and discovery.

Features

1. Cloud Config

  • cloud configurations for all services in one service by spring-cloud

2. Eureka Discovery Server

  • Centralized service registry for dynamic service discovery.
  • Enables load balancing and fault tolerance.

3. User Service

  • Handles user management operations.
  • Supports user creation, retrieval, and persistence in a PostgreSQL database.
  • Communicates with the Notification Service to send user-specific notifications.

4. Notification Service

  • Manages notifications for users.
  • Stores notification data in a MongoDB collection.
  • Provides APIs for saving and retrieving notifications.

5. Inter-Service Communication

  • Uses Spring Cloud OpenFeign for declarative REST client communication.
  • Supports service discovery and load balancing through Eureka.

6. Database Configuration

  • User Service: PostgreSQL with Hibernate for ORM.
  • Notification Service: MongoDB with Spring Data MongoDB for NoSQL database operations.

Technologies Used

  • Spring Boot for microservices.
  • Spring Cloud for service discovery and Feign integration.
  • MongoDB and PostgreSQL as databases.
  • Docker for containerization.

About

Spring Cloud Config within a microservices architecture to externalize the configuration management for distributed applications. Spring Cloud Config allows you to manage the configurations of microservices in a centralized manner, which is essential in dynamic, cloud-based, or distributed systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages