Re: Flink JDBC connect with secret

2021-10-26 Thread Qihua Yang
Hi Jing, Thank you for your suggestion. I will check if SSL parameters in URL works. Thanks, Qihua On Sat, Oct 23, 2021 at 8:37 PM JING ZHANG wrote: > Hi Qihua, > I checked user documents of several database vendors(postgres, oracle, > solidDB,SQL server)[1][2][3][4][5], and studied how to us

Re: Flink JDBC connect with secret

2021-10-23 Thread JING ZHANG
Hi Qihua, I checked user documents of several database vendors(postgres, oracle, solidDB,SQL server)[1][2][3][4][5], and studied how to use JDBC Driver with SSL to connect to these databases. Most of database vendors supports two ways: 1. Option1: Use Connection url 2. Option2: Define in Propertie

Flink JDBC connect with secret

2021-10-22 Thread Qihua Yang
Hi, We plan to use JDBC SQL connector to read/write database. I saw JDBC connector use username and password. Is it possible to use secret(*.crt) to access database. I didn't find guideline how to use it. How to config jdbc with secret? val jdbc: JdbcConnectionOptions = JdbcConnectionOptions.Jdbc