Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> Maven?


+
Something Something 2012-08-22, 00:05
+
Ajit Koti 2012-07-17, 18:23
+
Joe Stein 2012-07-17, 18:38
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 <[EMAIL PROTECTED]> 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 2012-07-17, 19:28
+
graham sanderson 2012-07-17, 20:24
+
Neha Narkhede 2012-07-17, 22:05
+
Ajit Koti 2012-07-18, 14:45
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB