File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/clj/backtype/storm/daemon Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 91
91
emit-sampler (mk-stats-sampler storm-conf)
92
92
stream->component->grouper (:stream->component->grouper executor-data)
93
93
user-context (:user-context task-data)
94
- executor-stats (:stats executor-data)]
94
+ executor-stats (:stats executor-data)
95
+ debug? (storm-conf TOPOLOGY-DEBUG)]
95
96
(fn ([^Integer out-task-id ^String stream ^List values]
96
- (when ( = true ( storm-conf TOPOLOGY-DEBUG))
97
+ (when debug?
97
98
(log-message " Emitting direct: " out-task-id " ; " component-id " " stream " " values))
98
99
(let [target-component (.getComponentId worker-context out-task-id)
99
100
component->grouping (get stream->component->grouper stream)
109
110
(if out-task-id [out-task-id])
110
111
))
111
112
([^String stream ^List values]
112
- (when ( = true ( storm-conf TOPOLOGY-DEBUG))
113
+ (when debug?
113
114
(log-message " Emitting: " component-id " " stream " " values))
114
115
(let [out-tasks (ArrayList. )]
115
116
(doseq [[out-component grouper] (get stream->component->grouper stream)]
You can’t perform that action at this time.
0 commit comments