Thanks Ewen.  Any idea when we can expect 0.8.3?

> On Aug 14, 2015, at 5:36 PM, Ewen Cheslack-Postava <e...@confluent.io> wrote:
> 
> Hi Abhijith,
> 
> You should be using KafkaProducer, but KafkaConsumer is not ready yet. The
> APIs are included in 0.8.2.1, but the implementation is not ready. Until
> 0.8.3 is released, you cannot rely only on kafka-clients if you want to
> write a consumer. You'll need to depend on the main kafka jar and use
> kafka.consumer.Consumer, as described on that wiki page. It has not been
> deprecated yet since the new consumer implementation is not ready yet.
> 
> -Ewen
> 
> On Fri, Aug 14, 2015 at 2:17 PM, Abhijith Prabhakar <abhi.preda...@gmail.com
>> wrote:
> 
>> Hi All,
>> 
>> I am newbie to Kafka and was looking to use java client implementation
>> org.apache.kafka:kafka-clients:0.8.2.1.  I was trying to write a consumer
>> group using example given here:
>> https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example <
>> https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example>
>> 
>> I see couple of issues here.
>> 
>> 1.  Above confluence page uses kafka.consumer.Consumer which seems to be
>> deprecated and taken out in 0.8.2.1.
>> 2. I realized that in documentation it mentions that 0.8.2 only has
>> Producer implementation inside Java client. But I also see
>> org/apache/kafka/clients/consumer/KafkaConsumer in this 0.8.2.1 version.
>> Not sure if this is ready to be used.  Also javadoc on this class is
>> different than 0.8.3
>> 
>> http://kafka.apache.org/083/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html
>> <
>> http://kafka.apache.org/083/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html
>>> 
>> 
>> Can someone please let me know if using KafkaConsumer is a good idea?  If
>> yes, then please point me to an example.
>> 
>> Thanks
>> Abhi
> 
> 
> 
> 
> -- 
> Thanks,
> Ewen

Reply via email to