Home | About | Sematext search-lucene.com search-hadoop.com
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 >> develop customized producer and consumer in java


+
Yu, Libo 2013-04-23, 22:49
+
Neha Narkhede 2013-04-24, 01:06
Copy link to this message
-
Re: develop customized producer and consumer in java
To write the client code, you can follow the examples in
http://kafka.apache.org/quickstart.html (0.7) or
https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+Producer+Example(0.8).

You don't need to know scala to write the clients in java, but you do need
the scala jar at runtime.

In 0.8, if you run the following, all dependant jars will be included in
the release zip or tar file.
./sbt update
./sbt package
./sbt release-zip (or ./sbt release-tar)

Thanks,

Jun
On Tue, Apr 23, 2013 at 3:47 PM, Yu, Libo <[EMAIL PROTECTED]> wrote:
 
+
Yu, Libo 2013-05-07, 13:49
+
Jun Rao 2013-05-07, 14:58
+
Gray, Alex 2013-05-07, 18:54
+
Yu, Libo 2013-05-13, 15:51
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