Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Instructions for Configuring JDBC Driver-Level Timeouts to Prevent Issues Due to Network Failures #1379

Open
sajith-madhusanka opened this issue Feb 19, 2025 · 0 comments

Comments

@sajith-madhusanka
Copy link

Current Limitation

As per the current instruction provided in the CDC inbound endpoint references [1], it doesn't include instructions to configure JDBC driver-level timeouts. These timeouts are essential to avoid issues that could occur due to network failures.

[1] https://mi.docs.wso2.com/en/latest/reference/connectors/cdc-inbound-endpoint/cdc-inbound-endpoint-config/

Suggested Improvement

It would be better if we could add instructions to configure the JDBC driver timeout. These can be defined with the "driver" prefix as shown below in the inbound endpoint configuration:

<parameter name="driver.socketTimeout">45000</parameter>

The above example applies to the MS SQL database driver, while other RDBMS vendors may use different parameters [1][2][3] to define timeouts.

[1] https://learn.microsoft.com/en-us/sql/connect/jdbc/understand-timeouts?view=sql-server-ver16
[2] https://dev.mysql.com/doc/connector-j/en/connector-j-reference-configuration-properties.html?utm_source=chatgpt.com#:~:text=Table%C2%A06.4%C2%A0Networking%20Properties
[3] https://docs.oracle.com/cd/E93514_01/epmstatic/essbase_studio/docs/en/essbase_studio/user/frameset.htm?apbs02s23.html

Version

4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants