Author: junrao Date: Mon Apr 29 15:13:35 2013 New Revision: 1477138 URL: http://svn.apache.org/r1477138 Log: add high level consumer example to 0.8 doc
Modified: kafka/site/08/api.html Modified: kafka/site/08/api.html URL: http://svn.apache.org/viewvc/kafka/site/08/api.html?rev=1477138&r1=1477137&r2=1477138&view=diff ============================================================================== --- kafka/site/08/api.html (original) +++ kafka/site/08/api.html Mon Apr 29 15:13:35 2013 @@ -87,6 +87,11 @@ public interface kafka.javaapi.consumer. public List<KafkaStream<byte[], byte[]>> createMessageStreamsByFilter(TopicFilter topicFilter, int numStreams); /** + * Create a list of message streams for topics matching a wildcard, using the default decoder, with one stream. + */ + public List<KafkaStream<byte[], byte[]>> createMessageStreamsByFilter(TopicFilter topicFilter); + + /** * Commit the offsets of all topic/partitions connected by this connector. */ public void commitOffsets(); @@ -99,7 +104,7 @@ public interface kafka.javaapi.consumer. </pre> You can follow -<a href="" title="Kafka 0.8 consumer example">this</a> to learn how to use the high level consumer api. +<a href="https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example" title="Kafka 0.8 consumer example">this</a> to learn how to use the high level consumer api. <h3>SimpleConsumer Api</h3> <pre>