HikariCp connection timeout when sink data into mysql
shouweikun opened this issue · 1 comments
This sometime happens when RingBufferSinker
sink data into mysql using HikariCP
this is the explain about timeout parameter in hikariCP:
This property controls the maximum number of milliseconds that a client (that's you) will wait for a connection from the pool. If this time is exceeded without a connection becoming available, a SQLException will be thrown. Lowest acceptable connection timeout is 250 ms. Default: 30000 (30 seconds)
This problem can be wired cause I have already make sure that the max connection num is bigger than the number of sinker actor
While,I think maybe it is sth related fork-join pool
in the details
Luckly thIs problem has been fixed,cause I found someWhere connection escape,fix it and no more error~
btw:Nothing about fork join~