Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

What dependency injection api are you using with Storm?

What dependency injection api are you using with Storm?

New Contributor

Currently we are using Guice for DI but it is always giving us fits. Currently we found out that a new 'binder' is being created for each bolt, so we blew the doors off our REDIS connections since it created new pools for each one.

Of course we figured out a way around this, but I was wondering what others have done with DI. Is it better just to roll your own? Does one work better than others? Do you just not use it?

Currently we are using Ehcache to hold our objects as it is a great "singleton" source.