FundingCircle / jackdaw

A Clojure library for the Apache Kafka distributed streaming platform.
https://fundingcircle.github.io/jackdaw/
BSD 3-Clause "New" or "Revised" License
368 stars 80 forks source link

Can't install dependencies #276

Closed khmelevskii closed 3 years ago

khmelevskii commented 3 years ago

When I try to install dependencies I can see the following error

Error building classpath. Could not find artifact io.confluent:kafka-schema-registry-client:jar:5.3.1 in central (https://repo1.maven.org/maven2/)

Clojure: 1.10.1.716

java --version
openjdk 11.0.8 2020-07-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode)
khmelevskii commented 3 years ago

Fir now I had to the following

 :deps  {fundingcircle/jackdaw {:mvn/version "0.7.6"
                                :exclusions  [io.confluent/kafka-schema-registry-client
                                              io.confluent/kafka-avro-serializer]}}
gphilipp commented 3 years ago

The Kafka registry client is required if you intend on using the avro serde. You need to include the confluent repository in your own Lein project.

khmelevskii commented 3 years ago

Ok, I understand where I was wrong. I use deps.edn, and I needed to add

 :mvn/repos {"confluent" {:url "https://packages.confluent.io/maven/"}