Help Center/
CloudTable Service/
Developer Guide/
ClickHouse Application Development Guide/
Developing a ClickHouse Application/
Configuring ClickHouse Connection Properties
Updated on 2025-07-25 GMT+08:00
Configuring ClickHouse Connection Properties
Function Description
You can set the connection properties through the Properties parameter.
In the following example, the socket timeout interval is set to 60s and SSL is not used.
Sample Code
Properties clickHouseProperties = new Properties(); clickHouseProperties.setProperty(ClickHouseClientOption.CONNECTION_TIMEOUT.getKey(), Integer.toString(60000)); clickHouseProperties.setProperty(ClickHouseClientOption.SSL.getKey(), Boolean.toString(false)); clickHouseProperties.setProperty(ClickHouseClientOption.SSL_MODE.getKey(), "none");
Parent topic: Developing a ClickHouse Application
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot