Re: Multiple processors belongs to same GroupId needs to read same message from same topic

2016-08-17 Thread Matthias J. Sax
You can just consume the message once, and process it twice downstream: > KStream stream = builder.stream("topic"); > > stream.process(/* use P1 here */); > stream.process(/* use P2 here */); -Matthias On 08/17/2016 07:51 AM, Tanay Soni wrote: > Hi, > > I am wondering why not have two differen

Re: Multiple processors belongs to same GroupId needs to read same message from same topic

2016-08-16 Thread Tanay Soni
Hi, I am wondering why not have two different GroupIDs for the processors? This would ensure that both P1 & P2 read each message from the topic. - Tanay On Wed 17 Aug, 2016 11:06 am David Garcia, wrote: > You could create another partition in topic T, and publish the same > message to both par

Re: Multiple processors belongs to same GroupId needs to read same message from same topic

2016-08-16 Thread David Garcia
You could create another partition in topic T, and publish the same message to both partitions. You would have to configure P2 to read from the other partition. Or you could have P1 write the message to another topic and configure P2 to listen to that topic. -David On 8/16/16, 11:54 PM, "Dee

Multiple processors belongs to same GroupId needs to read same message from same topic

2016-08-16 Thread Deepak Pengoria
Hi, I have a problem for which I am not able to find the solution. Below is the problem statement : I have two Kafka-Steaming api processors say P1 and P2, both want to read same message(s) from same topic say T. Topic T is having only one partition and contains some configuration information and

Re: Multiple processors belongs to same GroupId needs to read same message from same topic

2016-08-16 Thread Deepak Pengoria
For your information, I am using Confluent-3.0.0 (having Streaming api-0.10) On Wed, Aug 17, 2016 at 10:23 AM, Deepak Pengoria wrote: > Hi, I have a problem for which I am not able to find the solution. Below > is the problem statement : > > I have two Kafka-Steaming api processors say P1 and P2