Re: kafka offset commit

2016-06-06 Thread Devendra Tagare
ases if I use HDFS for storage ? >> >> Thank you very much. >> >> Regards, >> Raja. >> >> From: "hsy...@gmail.com" >> Reply-To: "users@apex.apache.org" >> Date: Monday, June 6, 2016 at 7:13 PM >> >> To: "users@a

Re: kafka offset commit

2016-06-06 Thread hsy...@gmail.com
l] ? > > Will the application latency greatly decreases if I use HDFS for storage ? > > Thank you very much. > > Regards, > Raja. > > From: "hsy...@gmail.com" > Reply-To: "users@apex.apache.org" > Date: Monday, June 6, 2016 at 7:13 PM > > T

Re: kafka offset commit

2016-06-06 Thread Raja . Aravapalli
3 PM To: "users@apex.apache.org<mailto:users@apex.apache.org>" mailto:users@apex.apache.org>> Subject: Re: kafka offset commit Raja, Not exactly, Apex actually stores offsets as part of the operator state, And state of the operator are checkpointed internally and periodically

Re: kafka offset commit

2016-06-06 Thread hsy...@gmail.com
, to apex is not storing offsets status at any location ? > Like how Storm stores in Zookeeper ? > > > Regards, > Raja. > > From: "hsy...@gmail.com" > Reply-To: "users@apex.apache.org" > Date: Monday, June 6, 2016 at 6:42 PM > > To: "u

Re: kafka offset commit

2016-06-06 Thread Raja . Aravapalli
t;mailto:users@apex.apache.org>" mailto:users@apex.apache.org>> Date: Monday, June 6, 2016 at 6:42 PM To: "users@apex.apache.org<mailto:users@apex.apache.org>" mailto:users@apex.apache.org>> Subject: Re: kafka offset commit Hey Raja, For 0.8, you have to implement OffsetM

Re: kafka offset commit

2016-06-06 Thread hsy...@gmail.com
offsets into either zookeeper(0.8.2 client has API to do that) or any other datastore like DB or HDFS. And also you have to implement the method loadInitialOffsets to load back offset you want. You are welcome to contribute a default implementation using buildin kafka offset commit request API for

Re: kafka offset commit

2016-06-06 Thread Raja . Aravapalli
sers@apex.apache.org<mailto:users@apex.apache.org>" mailto:users@apex.apache.org>> Subject: Re: kafka offset commit Hi Raja, Which Kafka version are you using? With the new 0.9 connector there is no need for the offset manager: https://github.com/apache/apex-malhar/tree/master/kafka/

Re: kafka offset commit

2016-06-06 Thread Thomas Weise
Hi Raja, Which Kafka version are you using? With the new 0.9 connector there is no need for the offset manager: https://github.com/apache/apex-malhar/tree/master/kafka/src/main/java/org/apache/apex/malhar/kafka Thanks, Thomas On Mon, Jun 6, 2016 at 3:06 PM, Raja.Aravapalli wrote: > Hi > > C

kafka offset commit

2016-06-06 Thread Raja . Aravapalli
Hi Can someone please help me understand, where will the offsets be stored when consuming with “KafkaSinglePortStringInputOperator” ? And, how to handle restarts ? I worked with Storm earlier, Storm maintains the offsets in zookeeper and client id is maintained for every consumer, using whic