-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
-
False
-
False
-
I am using debezium mongoDB plugin to create strimzi kafka mongodb connector.
We have MongoDB cluster with three replicas. I have enabled preferred TLS and authentication type as MongoDB-X509.
We have three broker strimzi kafka cluster and connect cluster with all required plugins (i.e. mongoDB provided by debezium) up and running.
I am using below json file to create connector, but not sure how to pass certificate as there is no option available to pass certificate.
{
"name": "production-connect-0",
"config":
}
getting below Error, attched in sanpshot.
As per the official debezium documentation and source code available on github repo:-
- https://debezium.io/documentation/reference/1.7/connectors/mongodb.html#debezium-mongodb-connector-required-configuration-properties
- https://github.com/debezium/debezium/blob/main/debezium-connector-mongodb/src/main/java/io/debezium/connector/mongodb/MongoDbConnectorConfig.java
it is mentioned only two parameters to pass i.e.
- mongodb.ssl.enabled
- mongodb.ssl.invalid.hostname.allowed
Not sure how to pass extra two tls paramters i.e "tlsCertificateKeyFile" and "tlsCAFile" which is required for mongoDB connection.
have posted same question on stack overflow as well, here is the reference link:-
Please let me know workaround on it or any alternative approach if available?
- duplicates
-
DBZ-7379 Support connector scoped trustore/keystore for MongoDB
- Closed