Re: JDBC connection pools
Posted by
Matthias on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/JDBC-connection-pools-tp40887p40902.html
Hi Marco,
have you had a look into the connector documentation ([1] for the regular connector or [2] for the SQL connector)? Maybe, discussions about connection pooling in [3] and [4] or the code snippets provided in the JavaDoc of JdbcInputFormat [5] help as well.
Best,
Matthias
On Thu, Jan 21, 2021 at 8:19 PM Marco Villalobos <
[hidden email]> wrote:
Currently, my jobs that require JDBC initialize a connection in the open method directly via JDBC driver.
1. What are the established best practices for this?
2. Is it better to use a connection pool that can validate the connection and reconnect?
3. Would each operator require its own connection pool?
I'd like the communities thought on this topic.