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

Start the connector worker replacing `<connector-root-directory>`: #6

Closed clementjk59 closed 6 years ago

clementjk59 commented 6 years ago

CLASSPATH=/target/kafka-connect-mq-sink-0.3-SNAPSHOT-jar-with-dependencies.jar bin/kafka-connect-standalone config/connect-standalone.properties ~/mq-sink.properties

Whats the similar command in Windows. i tried with PATH and i dont see logs . I rearranged to

connect-standalone config\connect-standalone.properties config\mq-sink.properties got error as "Failed to find any class that implements Connector and .." Seems like the command is not able to locate the generated JAR file, but i can see the jar in PATH. Any help is appreciated. Thanks.

AndrewJSchofield commented 6 years ago

I'm not quite sure and I don't have a Windows system to try it. Basically, you need the connector's JAR on the classpath. I would expect that adding that JAR to the CLASSPATH environment variable would work.