I created this solution to use the best of both worlds, the storage power of SQL Server and the read speed of MongoDB.
It was built in Docker with 10 application layers divided into 5 categories:
I. Transactional Persistence Database:
- SQL Server
II. Fast Read Database:
- MongoDB
III. Synchronization:
- Zookeeper
- Kafka
- Kafka Connect
- Kafka UI
IV: Synchronization Configuration:
- Replicator
V: Restful Services:
- Restful API to SQL Server's CRUD (NestJs)
- Restful API to Mongodb's reader (NestJs)
- Restful API to Mongodb's reader (.NET 8)
> git clone https://github.com/avm-sistemas/sqlserver-kafka-mongodb-sync.git
> cd sqlserver-kafka-mongodb-sync
> docker-compose up --build -d --force-recreate






