ibm-messaging / kafka-connect-mq-sink

This repository contains a Kafka Connect sink connector for copying data from Apache Kafka into IBM MQ.
Apache License 2.0
35 stars 43 forks source link

Configure connector at start of Docker container #34

Closed max-weis closed 4 years ago

max-weis commented 4 years ago

Hi,

I'm trying to run the connector inside a container, but I want to configure the connector without a HTTP call.

With a POST request I can create the connector, but mounting the mq-sink.properties to the config dir doesn't do anything. I also tried to clone the code and change the Dockerfile to use the mq-sink.properties in the entrypoint line. Which did nothing as well

Is that even possible to achieve?

AndrewJSchofield commented 4 years ago

If the connector is running in distributed mode, you'll need an initial HTTP call to kick the connector off. If you're doing it in standalone mode, the configuration file is sufficient.

max-weis commented 4 years ago

alright, thank you!