Vikas VermaIntroduction
In this blog post we will use ReactiveMongoTransactionManager class to manage the transaction. Along with that we shall use the mongo db.
Version
Kotlin: 1.3.71 Spring-boot: 2.2.6.RELEASEA Java: 11 mongo db: 4.2.0-rc2-bionic Dependencies
You can use Spring Initializer to initialize the project you need following dependencies -
Spring Reactive Web Spring Data Reactive MongoDB Create docker-compose.yml file
I use docker for running the mongo db the docker compose file looks like this -