Is it me, or it seems that Storm needs some context for worker process
(JVM) - level stuff? Or maybe it should be process-AND-topology-level...
I want to have some things constructed and accessible to all spouts/bolts
on JVM level, but I cannot see what is ideal way to achieve this? It seems
to me that people use lazy static field initialization during
Spout.open(...), but it's clearly not the nicest way to achieve this.
For example, I am used for years to use Spring as container for my (mostly
stateless) logic, and I would like to have the same with Storm. But I dunno
where should Spring's ApplicationContext be initialized?