You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "jiawen xiao (Jira)" <ji...@apache.org> on 2020/12/15 08:10:00 UTC
[jira] [Commented] (FLINK-19691) Expose
`CONNECTION_CHECK_TIMEOUT_SECONDS` as a configurable option in Jdbc
connector
[ https://issues.apache.org/jira/browse/FLINK-19691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17249549#comment-17249549 ]
jiawen xiao commented on FLINK-19691:
-------------------------------------
is a good idea,i will try it
> 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
> Priority: Major
> Fix For: 1.13.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)