Github user HeartSaVioR commented on the pull request:
https://github.com/apache/storm/pull/810#issuecomment-150047429
I also love the concept.
Btw, in order to rely on recurring mk-assignments,
- We should remove ```nimbus.reassign``` since it should be true for new
topologies to be assigned. We can't change ```when statement``` cause it makes
nimbus.reassign ineffective.
- It would be better to let users know that new topology will be assigned
by nimbus not at the moment but within ```nimbus.monitor.freq.secs```.
```
(schedule-recurring (:timer nimbus)
0
(conf NIMBUS-MONITOR-FREQ-SECS)
(fn []
(when (conf NIMBUS-REASSIGN)
(locking (:submit-lock nimbus)
(mk-assignments nimbus)))
(do-cleanup nimbus)
))
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---