How to configure MongoDB official source connector for Kafka Connect running on a kubernetes cluster How to configure MongoDB official source connector for Kafka Connect running on a kubernetes cluster kubernetes kubernetes

How to configure MongoDB official source connector for Kafka Connect running on a kubernetes cluster


Thanks for your reply. The issue was the stemming from TLS. I modified my config as follows,

"connection.uri": "mongodb://192.168.190.132:27017,192.168.190.137:27017/?tlsInsecure=true"

Its working now!


Can you try connecting to MongoDB service using the service name?

kubectl get service -n <namespace>

Use the above to get the services in the namespace of MongoDB and use the service name instead of the Ip's you have and see if that works?