Grouping makes sense only when you have more than one task for a bolt. If your bolt has more than one task, then the grouping will decide how the tuples from the spout are distributed to the individual tasks of the bolt. (shuffe = random, fields = keyed on some field and so on).
See http://storm.apache.org/releases/current/Concepts.html Thanks, Arun From: sam mohel <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, January 23, 2017 at 3:09 PM To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Subject: simple question about grouping i have text file contains data . size of this file is 3.5 MB . My topology consists of one spout and one bolt so is that possible to make all processing in one bolt and in this case what is the role of grouping here ? Thanks in advance
