Tasks need to be able to use MongoClients but creating and closing clients can be expensive.
The original Spark Connector uses a MongoClientCache, which expire out unused MongoClients.
Tasks need to be able to use MongoClients but creating and closing clients can be expensive.
The original Spark Connector uses a MongoClientCache, which expire out unused MongoClients.