A CQRS implementation using Debezium and Apache Kafka as replication method
- Clone the project and open it on a shell
- Start the containers with
docker compose up - For each microsservice, in a separate tab or shell do:
cd ./microsservices/<microsservice name>make startor./mvnw clean package && java -jar ./target/<microsservice name>.jar
- command: The writer service, it uses a relational PostgreSQL database
- event-writer: The replication service, responsible from retrieving data from Apache Kafka and storing it on the OpenSearch read store
- query: The reader service, it uses a non relational OpenSearch store