Alex,

Normally you'd just depend on kafka-clients 0.10.0.0 and let any transitive
dependencies get pulled in automatically.

This snippet from the Kafka build files shows the libraries that clients
depend on:

dependencies {
  compile libs.lz4
  compile libs.snappy
  compile libs.slf4jApi

So basically, slf4j for logging (and you'll want to include an
implementation like slf4j-log4j) and the compression libraries (lz4
and snappy). The 0.10.0.0 versions are:

net.jpountz.lz4 lz4 1.3.0

xerial.snappy snappy-java 1.1.2.4

-Ewen


On Thu, Aug 4, 2016 at 2:53 PM, Alexander Cook <ac...@umn.edu> wrote:

> Hi,
>
> This is slightly related to the "Jars in Kafka 0.10" thread. I am trying to
> figure out exactly which JARs I need at runtime for the 0.10 Kafka Producer
> and Kafka Consumer clients. Are the compile time dependencies and runtime
> dependencies documented anywhere I simply can't find?
>
> I know for sure I need:
> slf4j-api-1.7.21.jar
> kafka-clients-0.10.0.0.jar
>
> I'm scared that someone using a path of properties that I haven't tested
> will result in a "class not found" failure...but I may just be being
> paranoid. Thanks for the help!
>
> Alex
>



-- 
Thanks,
Ewen

Reply via email to