Each bolt instance (task) has its own state, so in your case each of the 5 
instances would have its own state. All these state instances could be in a 
same underlying storage instance (e.g. same Redis cluster).

 

Thanks,

Arun

 

 

 

From: Jins George <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Tuesday, July 19, 2016 at 4:04 AM
To: "[email protected]" <[email protected]>
Subject: Question on Storm 1.0 State Management

 

Hello Group,

I have a question on the implementation of State management in Storm(Storm 1.0 
- IStatefulBolt) .  Is the sate is shared across instances of same Bolt ? 

Say I have a  bolt with  parallelism as 5, Does each bolt instance have its own 
copy of State or there is only one State which is shared across 5 instances of 
bolts


Thanks,
Jins George

Reply via email to