Reputation: 3465
The error message in connector 0.5.1 is
ERROR WorkerConnector{id=Snowflake-kafka-test} Error while starting connector (org.apache.kafka.connect.runtime.WorkerConnector:119) java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
Upvotes: 0
Views: 580
Reputation: 13
If anyone sees this issue, here is the Documentation.
We have also added tests which points out where to put this jar files. If you are using encrypted private key as your authentication mechanism (Which is recommended), put in following directories
For Apache Kafka:
/lib
directory
For Confluent Kafka
/share/java/kafka
Along with putting inside the usr/local/share/kafka/plugins
- same directory where Snowflake's Kafka Connector plugins is kept.
Upvotes: 0
Reputation: 307
I fixed this error by downloading the Bouncy Castle provider jar file from https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on and placing it under the libs folder.
Upvotes: 1
Reputation: 3465
According this GitHub issue it's fixed on 10/21/19 and will be in the next release
Upvotes: 0