Closed mango009 closed 1 year ago
Hi, this seems to be a misconfiguration issue. In your case copying over topmost ScyllaDB-kafka-connect-scylladb-1.0.1-preview
folder, the one inside packages
directory should suffice.
I can see that quickstart document seems a little unclear about this part, so I've modified it slightly in a recent pull request. Hopefully that helps.
What I think happened in your case is that files you copied over did not get recognized as parts of a single component and therefore ended up isolated from each other and that's why connector cannot see Statement that's inside another .jar file.
The package under components directory will contain all necessary dependencies and kafka-connect-scylladb-<version>.jar
will also be present in lib
subdirectory.
First problem:
The documentation on the Scylla website and the quick start in the repo seems wrong to me. It stated:
But after doing
mvn install -DskipTests
the the packages directory actually looks like:And
kafka-connect-scylladb-1.0.1.jar
it is generated right undertarget/components/
.Second problem:
I created a directory and copy all the jars under
target/components/packages/ScyllaDB-kafka-connect-scylladb-1.0.1-preview/ScyllaDB-kafka-connect-scylladb-1.0.1-preview/lib
andkafka-connect-scylladb-1.0.1.jar
to the directory.I then started the connector but getting an exception (sorry the stack trace is long):