Fork me on GitHub
#jackdaw
<
2021-05-23
>
Jorin14:05:42

Hi there 👋 I am really looking forward to trying out jackdaw. Unfortunately I am getting an error when trying to startup the system:

...
Downloading: org/apache/zookeeper/zookeeper/3.4.14/zookeeper-3.4.14.jar from central
Downloading: org/apache/kafka/kafka-clients/2.3.0/kafka-clients-2.3.0.jar from central
Downloading: io/netty/netty-resolver/4.1.25.Final/netty-resolver-4.1.25.Final.jar from central
Downloading: jline/jline/0.9.94/jline-0.9.94.jar from central
Downloading: io/netty/netty-transport-native-epoll/4.1.25.Final/netty-transport-native-epoll-4.1.25.Final.jar from central
Downloading: io/netty/netty-resolver-dns/4.1.25.Final/netty-resolver-dns-4.1.25.Final.jar from central
Downloading: log4j/log4j/1.2.17/log4j-1.2.17.jar from central
Downloading: com/fasterxml/jackson/module/jackson-module-scala_2.11/2.9.9/jackson-module-scala_2.11-2.9.9.jar from central
Downloading: net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar from central
Downloading: org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar from central
Downloading: com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar from central
Error building classpath. Could not find artifact io.confluent:kafka-schema-registry-client:jar:5.3.0 in central ()
Error building classpath. Could not find artifact io.confluent:kafka-schema-registry-client:jar:6.1.1 in central ()
This happens via clj. I am on jackdaw version 0.8.0. I saw similar errors with the schema registry when trying jackdaw version 0.7.10 and also 0.6.9. If anyone has any hints on what's going on that would be awesome, thanks :)

Jorin14:05:12

I also tried including the schema registry as peer dependency. Doesn't resolve the error unfortunately.

{:deps {org.clojure/clojure {:mvn/version "1.10.3"}
        ...
        fundingcircle/jackdaw {:mvn/version "0.6.9"}
        io.confluent/kafka-schema-registry-client {:mvn/version "6.1.1"}}}

dharrigan15:05:30

If I recall, and I did this a while ago, I added the confluent repo directly to my resolvers

dharrigan15:05:21

So in your deps.edn, under the :mvn/repos key, add in something like

dharrigan15:05:53

:mvn/repos {"confluent" {:url ""}}}

Jorin15:05:31

Awesome, this works! Thank you @U11EL3P9U 🙂 Enjoy your Sunday!

dharrigan15:05:43

You're most welcome 😉