Connection pooling in Spring Boot and mongo db
I am going through spring boot application and mongoDb connection POC. I have added following dependency: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-mongodb</artifactId> </dependency> Also I have gone through mongoB properties with properties: https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html Can you please how do we define connection pooling mechanism here? You cannot do this out of the box with application properties. You need to make use of MongoClientOptions to configure various aspects of