<dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-streams</artifactId> <version>0.10.1.1-cp1</version> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka-clients</artifactId> <version>0.10.1.1-cp1</version> </dependency>
I went with the copy & paste method which Matthias mentioned. It was a little tricky, so I’ll leave my findings here in case it’s useful to someone else.
There were 3 files I had to add to my project which can be found in these two packages:
Then I found the pom.xml here:
I added dependencies one-by-one until I had just the ones I need. Originally I tried using code from the master branch, but that branch has -SNAPSHOT dependencies which are not publicly available. Switching to the latest release branch "3.1.x" worked.
These are the dependencies I needed:
:profiles {:dev {:dependencies [[io.confluent/kafka-schema-registry "3.1.2"]
[io.confluent/kafka-schema-registry "3.1.2" :classifier "tests"]
[junit/junit "4.12"]
[org.apache.curator/curator-test "2.9.0"]
[org.apache.kafka/kafka_2.11 "0.10.1.1-cp1"]
[org.apache.kafka/kafka_2.11 "0.10.1.1-cp1" :classifier "test"]
[org.apache.kafka/kafka-clients "0.10.1.1-cp1" :classifier "test"]]
I’m using lein instead of maven, but these dependencies are exactly the same, just with slightly different syntax.
> an email to confluent-platform+unsub...@googlegroups.com
> <mailto:confluent-platform+unsub...@googlegroups.com>.
> > an email to confluent-platform+unsub...@googlegroups.com
> <javascript:>
> > <mailto:confluent-platform+unsub...@googlegroups.com
> <javascript:>>.
> > To post to this group, send email to confluent...@googlegroups.com
> <javascript:>
> > <mailto:confluent...@googlegroups.com <javascript:>>.
> > To view this discussion on the web visit
> >
> https://groups.google.com/d/msgid/confluent-platform/c1548e6a-70c7-446c-bd06-a8d37deb67dd%40googlegroups.com
> <https://groups.google.com/d/msgid/confluent-platform/c1548e6a-70c7-446c-bd06-a8d37deb67dd%40googlegroups.com>
>
> >
> <https://groups.google.com/d/msgid/confluent-platform/c1548e6a-70c7-446c-bd06-a8d37deb67dd%40googlegroups.com?utm_medium=email&utm_source=footer
> <https://groups.google.com/d/msgid/confluent-platform/c1548e6a-70c7-446c-bd06-a8d37deb67dd%40googlegroups.com?utm_medium=email&utm_source=footer>>.
>
> > For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Confluent Platform" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to confluent-platform+unsub...@googlegroups.com
> <mailto:confluent-platform+unsub...@googlegroups.com>.