I\'m trying to use the Kafka Connect Elasticsearch connector, and am unsuccessful. It is crashing with the following error:
[2018-11-21 14:48:29,096] ERROR S
The compiled JAR needs to be available to Kafka Connect. You have a few options here:
Use Confluent Platform, which includes the Elasticsearch (and others) pre-built: https://www.confluent.io/download/. There's zip, rpm/deb, Docker images etc available.
Build the JAR yourself. This typically involves:
cd kafka-connect-elasticsearch-5.0.1
mvn clean package
Then take the resulting kafka-connect-elasticsearch-5.0.1.jar JAR and put it in a path as configured in Kafka Connect with plugin.path.
You can find more info on using Kafka Connect here:
Disclaimer: I work for Confluent, and wrote the above blog posts.