Spark-MongoDB icon indicating copy to clipboard operation
Spark-MongoDB copied to clipboard

Connections not closing

Open AndyShih12 opened this issue 7 years ago • 1 comments

Using 0.12.0 with Spark streaming 2.0

Number of connections keeps building up...to a few thousand until MongoDB refuses to accept any new connections.

Is there any way to reuse the same connection? Or to force close the connection? Or to set a lifespan of the connections (i.e. 30seconds)? Thanks

AndyShih12 avatar Sep 07 '16 23:09 AndyShih12