ZhangchengHu0923 commented on issue #844:
URL: 
https://github.com/apache/incubator-seatunnel/issues/844#issuecomment-1061604998


   @Jack1007 
   # Steps to prove the timeout config works
   
   ## step1: timeout=10000
   
   **note:** 192.168.1.111 is an ip address not exist, 
   
   ```
   source {
     jdbc {
       driver = "ru.yandex.clickhouse.ClickHouseDriver"
       url = "jdbc:clickhouse://192.168.1.111:8123/test"
       table = "st_source_date"
       result_table_name = "SOURCE_VIEW"
       user = "..."
       password = "..."
   
       jdbc.connect_timeout = 10000
       jdbc.socket_timeout = 10000
     }
   }
   ```
   
   ## Step2: run ur seatunnel pipline
   
   it will take 10 secods to throw exception
   
   ## Step3: timeout=3000
   
   **note:** 192.168.1.111 is an ip address not exist, 
   
   ```
   source {
     jdbc {
       driver = "ru.yandex.clickhouse.ClickHouseDriver"
       url = "jdbc:clickhouse://192.168.1.111:8123/test"
       table = "st_source_date"
       result_table_name = "SOURCE_VIEW"
       user = "..."
       password = "..."
   
       jdbc.connect_timeout = 3000
       jdbc.socket_timeout = 3000
     }
   }
   ```
   
   ## step4: run ur new seatunnel pipline
   
   it will take 3 secods to throw exception


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to