You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by clay teahouse <cl...@gmail.com> on 2015/01/23 18:32:48 UTC

share singleton between topology and multiple bolts

Hi All,
My topology initializes a singleton containing a s set of static objects.
These objects can be complex but are static. I want all the bolts to have
access to this singleton. It seems that the bolts can access the primitives
such as strings in this singleton, but cannot access more complex objects
such as hashmaps built in the singleton initialized by the topology. Is
anyone familiar with this issue? Am I doing something wrong? The topology
runs in cluster mode.

thanks

Clay