Skip to content

gustapinto/cqrs-debezium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CQRS Debezium

A CQRS implementation using Debezium and Apache Kafka as replication method

Running the project

  1. Clone the project and open it on a shell
  2. Start the containers with docker compose up
  3. For each microsservice, in a separate tab or shell do:
    1. cd ./microsservices/<microsservice name>
    2. make start or ./mvnw clean package && java -jar ./target/<microsservice name>.jar

Microsservices:

  • 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

About

A CQRS implementation using Debezium and Kafka as replication method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors