// POM Tweaking for core: def zkClientDep = <dependency> <groupId>zkclient</groupId> <artifactId>zkclient</artifactId> <version>20120522</version> <scope>compile</scope> </dependency> In version 0.1 of com.github.sgroschupf.ZkClient (listed in build.sbt) writeData doesn't return anything (http://j.mp/XBnn5g), which causes the compile error from my initial message (see below); that changed in 0.2 (http://j.mp/WqUx4x).
zkclient-20120522 (listed in Build.scala) is checked in as a JAR in the core/lib folder (http://j.mp/10U4XgE).
I haven't researched why between sbt and IntelliJ ZkClient resolves differently, and don't know the history behind the "POM tweaking" comment above. I was able to build Kafka in IntelliJ by removing the reference to com.github.sgroschupf.ZkClient. Perhaps this is a leftover from 0.7.2 (I if I recall correctly it depends on 0.1)?
At any rate if anybody runs into similar problems when building in InteliJ I hope that this fix addresses them. Comments welcome.
On 3/14/13 11:30 AM, "Dragos Manolescu" <[EMAIL PROTECTED]> wrote:
Re: Building kafka 0.8 in Intellij (was: Dead code?)
On 3/15/13 8:12 AM, "Neha Narkhede" <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation projects and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext