For the last couple of days I've been going through the 0.8 code as I'm porting some 0.7.2 producers and consumers to the 0.8 API. While sbt compiles the sources and indicates that 196 tests pass (I use Scala 2.9.2), I haven't been able to successfully build Kafka in IntelliJ (after generating the IDEA project with gen-idea). The errors are in ZkUtils; here's the first one, with subsequent errors caused by the absence of the returned value (of type org.apache.zookeeper.data.Stat).
scala: type mismatch; found : Unit required: org.apache.zookeeper.data.Stat stat = client.writeData(path, data) ^ As far as I can tell writeData is provided by org.I0Itec.zkclient.ZkClient, and its return type is void rather than Stat; here's the signature:
Are you using the right version of ZkClient? The version of ZkClient used in Kafka exposes Stat in writeData().
On Thu, Mar 14, 2013 at 11:20 AM, Dragos Manolescu < [EMAIL PROTECTED]> wrote:
Jun Rao 2013-03-15, 15:12
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