Github user Parth-Brahmbhatt commented on a diff in the pull request:

    https://github.com/apache/storm/pull/673#discussion_r37803716
  
    --- Diff: storm-core/src/clj/backtype/storm/daemon/common.clj ---
    @@ -273,6 +293,26 @@
          (metrics-consumer-register-ids storm-conf)
          (get storm-conf TOPOLOGY-METRICS-CONSUMER-REGISTER))))
     
    +;; return the fields that event logger bolt expects
    +(defn eventlogger-bolt-fields []
    +  [(EventLoggerBolt/FIELD_COMPONENT_ID)  (EventLoggerBolt/FIELD_TS) 
(EventLoggerBolt/FIELD_VALUES)]
    +  )
    +
    +(defn add-eventlogger! [storm-conf ^StormTopology ret]
    +  (let [num-executors (if (nil? (storm-conf 
TOPOLOGY-EVENTLOGGER-EXECUTORS)) (storm-conf TOPOLOGY-WORKERS) (storm-conf 
TOPOLOGY-EVENTLOGGER-EXECUTORS))
    --- End diff --
    
    may be i am missing this, but if TOPOLOGY-EVENTLOGGER-EXECUTORS is set to 
0, shouldn't you just return? I do not see the logic that just does not add 
event logger bolt when TOPOLOGY-EVENTLOGGER-EXECUTORS = 0.  Or are we assumin 
ghtat as num-executors will be set to 0, no thread will execute this task?


---
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.
---

Reply via email to