This is what I am running which is pretty much straight from the example on the Couchbase Kafka connector page.
./connect-standalone.sh /opt/kafka/config/connect-standalone.properties /etc/kafka-connect-couchbase/quickstart-couchbase.properties
I have modified the quickstart-couchbase.properties to connect to the Couchbase cluster and that is working ok.
It seems like what I need to do is run connect-distributed.sh (i.e.
connect-distributed /etc/kafka/connect-distributed.properties) and then somehow start the Couchbase connector. I am not sure if you need to use the Rest interface to do that and if you do I don’t know the command to post to get it started.
I can set up a start up script to run connect-distributed.sh so that it starts when a node starts, but I am also unclear as to whether or not anything needs to be done to keep the Couchbase connector up. I guess that as long as some of the nodes of the cluster are up and running the distributed connector service that the Couchbase connector should be fine and when a node is restarted it will simply join back in and share the work automatically.