mykidong
unread,Jun 14, 2013, 8:12:21 AM6/14/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to storm...@googlegroups.com
Hi,
I am using storm-kafka.
From a topic, I want to consume same messages from two different consumer groups, namely 'groupA', 'groupB':
msg1, msg2, ...
<a topic> -------------------------> groupA (consumerA1, consumerA2, ...)
|
|
| msg1, msg2, ...
+----------------------------------> groupB(consumerB1, consumerB2, ...)
That is, I want to have two kafka spouts with different groupid for a specific topic.
It seems that there is Kafka Consumer Property, groupid.
SpoutConfig() constructor has id argument, is this kafka consumer groupid?
Or how to set groupid in SpoutConfig for my two different consumer groups?
- Kidong.