kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Keylis <vkeylis2...@gmail.com>
Subject Re: Code Example for createMessageStreams
Date Wed, 05 Jun 2013 07:43:54 GMT
Good evening Jun. The paged you pointed me out does not have example where createMessageStreams
method takes two decoder objects. The example contains only for API where topicMap been passed.

Thanks in advance,
Vadim
Sent from my iPad

On Jun 4, 2013, at 7:50 AM, Jun Rao <junrao@gmail.com> wrote:

> For 0.8, you can find the example in the following wiki.
> 
> https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example
> 
> Thanks,
> 
> Jun
> 
> 
> On Tue, Jun 4, 2013 at 12:56 AM, Vadim Keylis <vkeylis2009@gmail.com> wrote:
> 
>> 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);
>> 
>> Thanks so much in advance,
>> Vadim
>> 

Mime
View raw message