-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor how we handle options in at topology, environment, and CLI l…
…evels. (#289) - Remove --par because it would have made this really really hard. - Make --ackers, --debug, and --workers use _StoreDictAction so they just end up in the arg.options dict in the end. - Remove all the code that was passing them around ackers, debug, and workers. - Add a resolve_options function to streamparse.cli.common that takes the env config, the CLI options, and the topology class and spits out a unified options dict. - Stop using TopologyType.propogate_config to propogate topology-level config options to each component, because this wasn't actually the right way to do it. With the previous approach the options we not actually being set at the topology level, so they didn't show up in Storm UI at the topology level. You had to look at each component separately to see them.
- Loading branch information
1 parent
04efa3c
commit a8861e4
Showing
4 changed files
with
120 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters