Shuffle grouping should do fine for you. But if you want certain specific JSON to go to a specific bolt's task everytime, then fields grouping will help. Eg: If you are parsing a JSON file related to Mr.x, Mr.y and Mr.z and you have task 1, 2 and 3 of a Bolt, and you want Mr.x's data to go to task 1 always and Mr.y's data to go to task 2 always, then fields grouping helps.
On Fri, Sep 2, 2016 at 7:45 AM, Noppanit Charassinvichai < [email protected]> wrote: > I'm quite new to Storm. I have a simple question about whether to use > Field or Shuffle grouping. Am I correcting to understand that the reason to > use FieldGrouping is when you have some sort of state in your bolt so you > want to have the tuple with the same field go to the same Bolt. If my > Topology is simple as get some data parse some JSON and pass that JSON > stream to DB. I don't really need to use Field grouping? And shuffle > grouping would be better in this case? > > Thanks. > -- Regards, Navin
