Auth microservice implementation.
https://medium.com/trendyol-tech/transaction-log-tailing-with-debezium-part-1-aeb968d72220 https://debezium.io/blog/2019/02/19/reliable-microservices-data-exchange-with-the-outbox-pattern https://www.youtube.com/watch?v=6nU9i022yeY
PostgreSQL database
Go-Kit https://gokit.io
Docker-compose testing, main.go will subscribe to the given topics (tables) and print events whenever the DB state changed.
Microservices will write to own database. Debezium will automatically produce the events.
Consumer microservices will continue to listen for events.
In this example, outbox design pattern is used simply.