Cannot start the mongodb-source-connector #9596
Answered
by
scholzj
miracle0930
asked this question in
Q&A
-
Hi! I am deploying mongo-kafka-connector by using strimzi. But I was blocked by this error:
This is my configuration file for kafka connect:
and this is the configuration file for connector
It looks like the MongoSourceConnector is not being installed. Can I get some help here? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
scholzj
Jan 26, 2024
Replies: 1 comment 5 replies
-
I guess that suggests there is no MongoDB connector in the container image you use. So, how did you add the connector to it? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That is correct, yes. For the first case, you can basically write a Dockerfile that starts from the Strimzi container image as a base image and adds the connector(s) you need. There is an example in the docs. You can then build it locally or in some CI, push it to registry such as DockerHub or Quay and specify it in
.spec.image
. Or you can use the.spec.build
feature -> that does the build for you, but you need to point it to a container registry where it can push the container image.