Reputation: 332
Consider following configuration for a topology:
#spouts: 2
#bolt: 8
#workers: 3
With this configuration one of the workers won't have spout and If we apply localorshuffle grouping between spout and bolt, does worker-3 bolts receive any tuple ?
Upvotes: 0
Views: 151
Reputation: 3651
No, not as far as I know. When you use localOrShuffle grouping, you're saying that you want to send to any bolts that are within the same JVM if possible, and only send outside the JVM if there is no appropriate bolt task inside the VM.
Upvotes: 2