-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
What Debezium connector do you use and what version?
Latest version for various connectors - Postgresql, MySql, SqlServer etc.
What behavior do you see?
We have observed cases where the connection validation process takes unexpectedly long. So long, in fact, that our internal service's validation request (with a 90-second timeout) fails. Thread dumps indicate that the call to the connection method can sometimes hang indefinitely for certain endpoints.
What behavior do you expect?
To address this, we propose introducing a configuration option to control the connection validation timeout. A sensible default could be 60 seconds, which should cover most scenarios. However, users should be able to override this value based on their specific environments.
Do you see the same behaviour using the latest released Debezium version?
Yes.
How to reproduce the issue using our tutorial deployment?
We don't have the visibility to the endpoints where the validation might take too long to succeed or fail. But have seen this issue with connectors hosted in our cloud service.
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
Having the validation timeout will prevent indefinite hanging on connection validation.