jackdaw

https://github.com/FundingCircle/jackdaw
2021-05-23T14:19:42.002200Z

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 (<https://repo1.maven.org/maven2/>)
Error building classpath. Could not find artifact io.confluent:kafka-schema-registry-client:jar:6.1.1 in central (<https://repo1.maven.org/maven2/>)
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 :)

2021-05-23T14:26:12.002700Z

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"}}}

dharrigan 2021-05-23T15:18:30.002900Z

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

dharrigan 2021-05-23T15:18:43.003100Z

i.e., <https://packages.confluent.io/maven/>

dharrigan 2021-05-23T15:19:21.003300Z

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

dharrigan 2021-05-23T15:19:53.003500Z

:mvn/repos {"confluent" {:url "<hhtps://packages.confluent.io/maven>"}}}

2021-05-23T15:35:31.003800Z

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

dharrigan 2021-05-23T15:35:43.004Z

You're most welcome 😉

dharrigan 2021-05-23T15:35:44.004200Z

and you!

dharrigan 2021-05-23T15:35:45.004400Z

.