How-To: Spring Boot 2 Web Application with Multiple Mongo Repositories and Kotlin
Published in
7 min readAug 23, 2019
First of all, a disclaimer: if you’re writing a microservice (which everyone does now right?) and want it to be idiomatic, you don’t normally use several different data sources in it.
Why? Well, by definition, microservices should be loosely coupled, so that they can be independent. Having several microservices writing into…