Dummy guide to install mongo sink connector

Hi guys
tried this previously… ended pulling out my own hair.
Can someone point me at a good how to install the MongoDB sink connector, for a local lab.

I’m running mongo-atlas-local as a container
I’m running Confluent stack as local container, run via the docker compose command.

thanks.

G

The example here is an end-to-end smoke test. You might try substituting the Atlas local image in this, or compare your setup to this example.

FYI the playground requires bash 4+ and some other dependencies like fzf that it’ll prompt you to install if you don’t already have them.

tl;dr:

git clone https://github.com/vdesabou/kafka-docker-playground.git
cd kafka-docker-playground/scripts/cli
./playground run

Select Connectors, then find /connect/connect-mongodb-sink/mongo-sink.sh, then Run the example.

1 Like

thank you, will give it a go,

G

fyi… we traced it down…
using a docker-compose.yaml to build cp environment, then adding the sink connector worked,

when I used the tar gz file it failed, had some awesome assistance from Barry Evans on the slack channel and we eventually traced it down to me using a old Java version on my MAC… once we upgraded to openjdk11 it all worked.

G

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.