Tarun Chabarwal
Tarun Chabarwal

Reputation: 332

localorshuffle grouping in storm

Consider following configuration for a topology:
#spouts: 2
#bolt: 8
#workers: 3

enter image description here

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

Answers (1)

Stig Rohde Døssing
Stig Rohde Døssing

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

Related Questions