Hi ,

I am building a Storm topology with set of Spouts and Bolts  and also using
Spring for Dependency Injection .

Unfortunately , none of my fields are getting autowired even though I have
declared all my spouts and Bolts as @Components .

However the place where I am declaring my topology , Spring is working fine
.

Is it because cluster.submitTopology("test", conf, builder.createTopology())
 submits the topology to a cluster (locally it spawns different thread for
Spouts and Bolts) that Autowiring is not working?

Please suggest .

Reply via email to