Github user hequn8128 commented on the issue:

    https://github.com/apache/flink/pull/6301
  
    @jrthe42 Hi, thanks for your PR. 
    From my side, I think use a connection pool to solve the connection problem 
is a better way. We don't need to keep the connections all the way. It wastes 
the connection resources if most threads have been idle for a long time. Also, 
the connection pool will not bring extra cost if threads are busy writing data 
into database, since the connections in the pool will be reused. 
    
    I googled just now and find the `MiniConnectionPoolManager ` descriptions 
[here](http://www.source-code.biz/miniconnectionpoolmanager/).  Maybe we can 
use it. 
    
    Best, Hequn



---

Reply via email to