Re: How do I implement this topology in Storm?

2014-08-08 Thread Jonathan Yom-Tov
It's an option but if I understand correctly the field grouping will make sure each word goes to the same bolt every time, I'm guessing this requires some sort of central authority to coordinate. How does that happen? On Fri, Aug 8, 2014 at 8:27 PM, Nathan Leung ncle...@gmail.com wrote: Why

Re: How do I implement this topology in Storm?

2014-08-08 Thread P. Taylor Goetz
The logic for fields grouping is stateless. It does a hash mod on the field values. Essentially: selectedTask = fields.hashCode() % numTasks - Taylor On Aug 8, 2014, at 1:39 PM, Jonathan Yom-Tov jon.yom...@gmail.com wrote: It's an option but if I understand correctly the field grouping will

Re: How do I implement this topology in Storm?

2014-08-08 Thread Jonathan Yom-Tov
OK, thanks. And is there another option if I don't want to go down the fields grouping path? On Fri, Aug 8, 2014 at 8:52 PM, P. Taylor Goetz ptgo...@gmail.com wrote: The logic for fields grouping is stateless. It does a hash mod on the field values. Essentially: selectedTask =