[jira] [Created] (FLINK-19691) Expose `CONNECTION_CHECK_TIMEOUT_SECONDS` as a configurable option in Jdbc connector

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19691) Expose `CONNECTION_CHECK_TIMEOUT_SECONDS` as a configurable option in Jdbc connector

Shang Yuanchun (Jira)
hailong wang created FLINK-19691:
------------------------------------

             Summary: Expose `CONNECTION_CHECK_TIMEOUT_SECONDS` as a configurable option in Jdbc connector
                 Key: FLINK-19691
                 URL: https://issues.apache.org/jira/browse/FLINK-19691
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / JDBC
    Affects Versions: 1.11.0
            Reporter: hailong wang
             Fix For: 1.12.0


Jdbc connector can check whether the connection is valid, and the timeout is 60 second [FLINK-16681].

But the fixed timeout of 60 second sometimes too long to wait.  In some scenes,  I just want to wait for 5 second and fast failed and restarting if it is still invalid.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)