Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 07-26-2016 11:03 AM
So I want multiple storm topologies to read from the same kafka topic.
So suppose topic contains: A B C (data)
I want both the topologies to get A,B,C
But currently what is happening is messaged are getting distributed.(eg. topology 1 is getting A and other topology is getting B and C)
How do I achieve this is trident.
I am using OpaqueTridentKafkaSpout.
I think what needs to be done is both topologies need to specify different consumer group ids.
But could not find how to specify them in trident(TridentKafkaConfig)
Created 07-27-2016 10:29 AM
Hey folks,
Turned out that I was using same name for TridentTopology#newStream in both topologies.
And it creates dir by this name in zk.
Thanks for folks on apache storm user group
Created 07-26-2016 03:14 PM
TridentKafkaConfig spoutConf = new TridentKafkaConfig(zk, "test-topic",UUID.randomUUID().toString())
Created 07-27-2016 06:18 AM
Hey,
@ggolani Thanks for the reply.
TridentKafkaConfig spoutConf = new TridentKafkaConfig(zk, "test-topic",UUID.randomUUID().toString())
We have already tried this and seems not be working. The javadoc says that the 3rd param is clientId. Is this same as group id ?
Created 07-27-2016 10:29 AM
Hey folks,
Turned out that I was using same name for TridentTopology#newStream in both topologies.
And it creates dir by this name in zk.
Thanks for folks on apache storm user group
Created 07-28-2016 05:46 AM
For more details about the conversation, you can go to mail thread here