Good evening. Would it be possible to get sample code where the api bellow is used in the consumer with sample of Decoder. public <K,V> Map<String, List<KafkaStream<K,V>>> createMessageStreams(Map<String, Integer> topicCountMap, Decoder<K> keyDecoder, Decoder<V> valueDecoder);
Yes, but it shouldn't be hard to extend the example. Basically, in the stream iterator, you can do it.next().key() and the return type should be of type K. Let us know if you need more help on this.
Jun On Wed, Jun 5, 2013 at 12:43 AM, Vadim Keylis <[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