-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
org.apache.kafka/kafka-streams-test-utils is getting included with scope test, so isn't included in the distribution, but is needed by jackdaw.data since 0.9.5 (https://github.com/FundingCircle/jackdaw/blob/master/src/jackdaw/data/producer.clj#L10).
https://repo.clojars.org/fundingcircle/jackdaw/0.9.12/jackdaw-0.9.12.pom:
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-streams-test-utils</artifactId>
<version>3.3.2</version>
<scope>test</scope>
</dependency>Observed behavior:
$ lein repl
#error {
:cause org.apache.kafka.streams.test.TestRecord
:via
[{:type clojure.lang.Compiler$CompilerException
:message Syntax error macroexpanding at (jackdaw/data/producer.clj:7:1).
:data #:clojure.error{:phase :execution, :line 7, :column 1, :source jackdaw/data/producer.clj}
:at [clojure.lang.Compiler load Compiler.java 7665]}
{:type java.lang.ClassNotFoundException
:message org.apache.kafka.streams.test.TestRecord
:at [java.net.URLClassLoader findClass URLClassLoader.java 445]}]
...
jackdaw-test.core=> (require 'jackdaw.admin)
Syntax error compiling at (jackdaw/admin.clj:1:1).
namespace 'jackdaw.data' not found
with only the following dependencies:
:dependencies [[org.clojure/clojure "1.11.1"]
[fundingcircle/jackdaw "0.9.12"]]
But add [org.apache.kafka/kafka-streams-test-utils "3.3.2"] to the project and it works as expected.
I don't know enough about java/maven packaging to suggest the correct fix.
Metadata
Metadata
Assignees
Labels
No labels