Replies: 3 comments 4 replies
-
Well, you have your Kafka without TLS. But it looks like your SQL Server uses TLS. So you will need to configure TLS for that or disable it in the connector and your SQL Server. That said, I do not know Debezium or SQL Server well enough to tell you where or how. |
Beta Was this translation helpful? Give feedback.
-
Right that makes sense, so what I would want is to use plaintext connection inside my kafka clusters between everything and only do TLS between Connect -> SQL Server. How would I go about doing this? Changing kafka connect to this:
Does not seem to work as it timeouts when reaching the brokers:
|
Beta Was this translation helpful? Give feedback.
-
I finally figure the issue, I will post the answer for others: This not in any way related to strimzi, it's solely on the plugin you are installing. In my case, I was installing the debezium-sql server on a version that uses JDBC driver 10.2 or newer, which introduced a breaking change of enabling encryption by default. This is generally problematic because, by default, SQL Server is installed with a self-signed X.509 certificate so it doesn't appear in any trust stores. To solve this, you can either change your KafkaConnector config:
Depending on whether or not you want encryption . @scholzj We can close this, thanks for the help! |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm trying to setup a kafka connector to connect to a SQL Server database.
I'm trying to make it as simple as possible, so I'm not using TLS anywhere in Kafka, it's all plaintext, here is my configuration:
cluster.yaml:
connector.yaml:
And this is the logs I see:
How can I fix this?
Beta Was this translation helpful? Give feedback.
All reactions