Thanks Joe, I wasn't sure what maven version the zkclient JAR in kafka referred to (which is why I installed the JAR from kafka)… if it is 0.1 I will update my pom, and yes, I now need to move to 0.7.1 and 3.3.4
On Jul 17, 2012, at 2:28 PM, Joe Stein wrote: > yup, you need to add "com.github.sgroschupf" % "zkclient" % "0.1" > > i would also recommend using Kafka 0.7.1 and Zookeeper 3.3.4 > > On Tue, Jul 17, 2012 at 2:45 PM, graham sanderson <gra...@vast.com> wrote: > >> I included these in my pom.xml (the first two I put in our own maven >> repository for now out of the sbt build - I wasn't sure what version of >> zkclient is included with kafka - note the former is just the built kafka >> jar) - I have scala.version set to 2.9.2 which was what I got 0.7 to build >> with. >> >> <dependency> >> <groupId>com.vast.temporary</groupId> >> <artifactId>kafka</artifactId> >> <version>0.7.0-SNAPSHOT</version> >> </dependency> >> >> <dependency> >> <groupId>com.vast.temporary</groupId> >> <artifactId>zkclient</artifactId> >> <version>20110412-SNAPSHOT</version> >> </dependency> >> >> <dependency> >> <groupId>org.scala-lang</groupId> >> <artifactId>scala-library</artifactId> >> <version>${scala.version}</version> >> </dependency> >> >> <dependency> >> <groupId>org.apache.zookeeper</groupId> >> <artifactId>zookeeper</artifactId> >> <version>3.3.3</version> >> <exclusions> >> <exclusion> >> <groupId>com.sun.jmx</groupId> >> <artifactId>jmxri</artifactId> >> </exclusion> >> <exclusion> >> <groupId>com.sun.jdmk</groupId> >> <artifactId>jmxtools</artifactId> >> </exclusion> >> <exclusion> >> <groupId>javax.jms</groupId> >> <artifactId>jms</artifactId> >> </exclusion> >> </exclusions> >> </dependency> >> >> <dependency> >> <groupId>org.slf4j</groupId> >> <artifactId>log4j-over-slf4j</artifactId> >> <scope>runtime</scope> >> </dependency> >> >> On Jul 17, 2012, at 1:38 PM, Joe Stein wrote: >> >>> The latest release is 0.7.1 >> http://incubator.apache.org/kafka/downloads.html >>> >>> once un packaged >>> >>> ./sbt update >>> ./sbt package >>> >>> to build the kafka jar from source >>> >>> On Tue, Jul 17, 2012 at 2:23 PM, Ajit Koti <ajitk...@gmail.com> wrote: >>> >>>> Hello, >>>> >>>> New to Kafka >>>> >>>> And have an existing java project where I want to use kafka and I use >> maven >>>> as my build tool. >>>> >>>> So is there anyway , I can build kafka as maven project , or build a jar >>>> out of kafka source code .. >>>> >>>> >>>> Thanks >>>> Ajit >>>> >>> >>> >>> >>> -- >>> >>> /* >>> Joe Stein >>> http://www.linkedin.com/in/charmalloc >>> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> >>> */ >> >> > > > -- > > /* > Joe Stein > http://www.linkedin.com/in/charmalloc > Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop> > */
smime.p7s
Description: S/MIME cryptographic signature