The SOLR connector is a high speed mechanism for writing data to Apache Solr.
If you are seeing error messages such as Invalid version (expected 2, but 60) or the data in not in ‘javabin’ format compare the version of the Solr Server against the version of solrj the connector is compiled with. This error message is most likely due to a version mismatch between the server and solrj. To address this try replacing the solr-solrj-*.jar packaged with the connector with the version that matches the Solr server you are connecting to.
The preferred method of installation is to utilize the Confluent Hub Client.
confluent-hub install jcustenborder/kafka-connect-solr:latest
- Compile the source code with mvn clean package
- Create a subdirectory called kafka-connect-solr under the plugin.path on your connect worker.
- Extract the contents of the zip file from target/components/packages/ to the directory you created in the previous step.
- Restart the connect worker.