Microservice - Spring: <1> Introduction
- Anh Nguyen tuan
- Jul 9, 2022
- 1 min read
Updated: Jul 9, 2022
I will focus on main skills about microservices. Everything about microservices principle you can refer to this link https://microservices.io . In order to build a 'world class' system, you must follow the standard like restful, projects in spring ecosystems, distributed transaction, et' cetera...
1. Prerequisite
Learn more about :
Microservice principle: https://microservices.io
Distributed Transaction: https://servicecomb.apache.org/docs/distributed_saga_3
Spring Projects : https://spring.io/projects/spring-boot
Other Component relates to microservices infrastructure like Kafka, RabitMQ, Kubernetes, Zipkins, Promethus, Grafana, Vault Server, Image Registry, Service Discovery like Eureka, Istio service mesh, Redis, et' cetera ...
2. Github Repository & My Project
Build the services to flow this diagram.

3. Repositories
Note: Code can be branch Master or Develop.
https://github.com/seabird86/common (Library is shared for all projects)
https://github.com/seabird86/api-gateway (Spring cloud Gateway)
https://github.com/seabird86/configuration (Spring Cloud Config)
https://github.com/seabird86/payment (Spring Boot)
https://github.com/seabird86/customer (Spring Boot)
https://github.com/seabird86/database (SQL to build all schema based on Liquibase)
4. Features
I developed some features, you can refer these features to implement for your self.
Standard of Error Handler, Response Body, Configuration like a flow.
Dynamic & multi language support for error message.
Sample of design for TCC distributed transaction.
Verify signature on Spring cloud Gateway.
Some features will be completed for my memo.
Connect to Keycloak or Gmail





Comments