I have a Storm topology containing spouts/bolts. There is some configuration data that is specific to a particular spout and also a particular bolt that I would like to use (i.e. read from a config file) so that it is not hard coded. Examples of config data is a filename that the spout is to read from and a filename that a bolt is to write to. I think config data is passed into the open and prepare methods.
How can I incorporate the component-specific data from a configuration file?