RE: Kafka usecase

2016-09-18 Thread Lohith Samaga M
Hi Achintya, 1. Kafka can be used as a message store. 2. What is the message arrival rate per second? 3. What is the SLA for the messages to be processed? 4. If your messages arrive faster than they are consumed, you will get a backlog of messages. In that case,

RE: Building API to make Kafka reactive

2016-06-29 Thread Lohith Samaga M
Hi Shekar, Alternatively, you could make each stage of your pipeline to write to a Cassandra (or other DB) and your API will read from it. With Cassandra TTL, the row will be deleted after TTL is passed. No manual cleanup is required. Best regards / Mit freundlichen Grüßen / Sincères

RE: Kafka HDFS Connector

2016-06-22 Thread Lohith Samaga M
Hi, You can use Storm also, Here you have the option of rotating the file. You can also write to Hive directly. Best regards / Mit freundlichen Grüßen / Sincères salutations M. Lohith Samaga -Original Message- From: Mudit Kumar [mailto:mudit.ku...@askme.in] Sent: Wednesday,

Re: Filter plugins in Kafka

2016-04-29 Thread Lohith Samaga M
Hi Using Storm would be another way. This will scale as well. Spark streaming would fit as well It all depends on the complexity of the filter and any additional processing required. HTH Lohith Sent from my Sony Xperia™ smartphone Gerard Klijs wrote Using kafka streams is one

RE: How to build strategy for particular setup of kafka

2016-04-22 Thread Lohith Samaga M
tegrate Apps in architecture. Partition > / Consumer groups have different purpose. If I need to setup three > kafka instances each for App ? > > On Fri, Apr 22, 2016 at 12:30 PM, Lohith Samaga M < > lohith.sam...@mphasis.com > > wrote: > > > Hi, > > It

RE: How to build strategy for particular setup of kafka

2016-04-22 Thread Lohith Samaga M
Hi, It is better NOT to share topics among applications. You may have a wrapper application reading from the queue/topic and routing it to the correct application, but it is simpler for each application to read from its own topic. Best regards / Mit freundlichen Grüßen / Sincères

RE: New consumer API waits indefinitely

2016-04-13 Thread Lohith Samaga M
Dear All, After a system restart, the new consumer is working as expected. Best regards / Mit freundlichen Grüßen / Sincères salutations M. Lohith Samaga -Original Message- From: Lohith Samaga M [mailto:lohith.sam...@mphasis.com] Sent: Tuesday, April 12, 2016 17.00 To: users

RE: New consumer API waits indefinitely

2016-04-12 Thread Lohith Samaga M
- org.apache.kafka.clients.consumer.internals.SendFailedException So, is it advisable to use the old consumer on Kafka 0.9.0.1? Please help. Thanks in advance. Best regards / Mit freundlichen Grüßen / Sincères salutations M. Lohith Samaga -Original Message- From: Lohith Samaga M

RE: New consumer API waits indefinitely

2016-04-05 Thread Lohith Samaga M
is org.apache.kafka.clients.consumer.internals.SendFailedException in org.apache.kafka.clients.consumer.internals.ConsumerNetworkClient.RequestFutureCompletionHandler. After that, the consumer goes into a loop. Best regards / Mit freundlichen Grüßen / Sincères salutations M. Lohith Samaga -Original Message- From: Lohith Samaga M

RE: New consumer API waits indefinitely

2016-04-05 Thread Lohith Samaga M
with compacted topics on Windows and the new consumer uses a compacted topic to store offsets. Ismael On Mon, Apr 4, 2016 at 12:20 PM, Lohith Samaga M <lohith.sam...@mphasis.com> wrote: > Dear All, > The error seems to be NOT_COORDINATOR_FOR_GROUP. > The e

RE: New consumer API waits indefinitely

2016-04-05 Thread Lohith Samaga M
Thanks Niko! I think I missed an org.apache.kafka.clients.consumer.internals.SendFailedException exception at the very beginning (or atleast it is giving an exception today). Even after using a new install of Kafka, I get the same errors. Strangely, all topics are re-created in the logs. I

RE: New consumer API waits indefinitely

2016-04-04 Thread Lohith Samaga M
; > > -Original Message- > From: Ratha v [mailto:vijayara...@gmail.com] > Sent: Monday, April 04, 2016 11.27 > To: users@kafka.apache.org > Subject: Re: New consumer API waits indefinitely > > I too face same issue:( > > On 4 April 2016 at 15:51, Lohith Samaga M &l

RE: New consumer API waits indefinitely

2016-04-04 Thread Lohith Samaga M
, 2016 11.27 To: users@kafka.apache.org Subject: Re: New consumer API waits indefinitely I too face same issue:( On 4 April 2016 at 15:51, Lohith Samaga M <lohith.sam...@mphasis.com> wrote: > HI, > Good morning. > > I am new to Kafka. So, p

New consumer API waits indefinitely

2016-04-03 Thread Lohith Samaga M
HI, Good morning. I am new to Kafka. So, please bear with me. I am using the new Producer and Consumer API with Kafka 0.9.0.1 running on Windows 7 laptop with zookeeper. I was able to send messages using the new Producer API. I can