Hi, We have springboot application integrated with apache pinot jdbc driver. We are using JDBCTemplate which inturn uses datasource(with org.apache.pinot.client.PinotDriver). with https protocol. we are facing lot of threads(running forever) related to
at org.apache.pinot.common.utils.tls.RenewableTlsUtils.reloadSslFactoryWhenFileStoreChanges(RenewableTlsUtils.java:239) this is getting created for every connection. To resolve this, we are creating SSLContext and injecting into new PinotDriver(sslContext). This resolved the issue, but PinotDriver has following documentation
@VisibleForTesting
public PinotDriver(SSLContext sslContext) {
_sslContext = sslContext;
}
we want to know if we can use the above method as it's annotated as visibleForTesting. if not, what is the best way to use pinot java client to avoid the thread issues. Waiting for the response