Github user revans2 commented on a diff in the pull request: https://github.com/apache/storm/pull/1199#discussion_r56223967 --- Diff: storm-core/src/jvm/org/apache/storm/trident/TridentState.java --- @@ -23,18 +23,33 @@ public class TridentState { TridentTopology _topology; Node _node; - + protected TridentState(TridentTopology topology, Node node) { _topology = topology; _node = node; } - + public Stream newValuesStream() { return new Stream(_topology, _node.name, _node); } - + public TridentState parallelismHint(int parallelism) { _node.parallelismHint = parallelism; return this; } + + public TridentState setCPULoad(Number load) { --- End diff -- Can we do the same here too? Have TridentState implement `ResourceDeclarer<TridentState>` and have these marked with `@Override`.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---