Github user knusbaum commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1097#discussion_r52660183
  
    --- Diff: storm-core/src/clj/org/apache/storm/daemon/worker.clj ---
    @@ -487,11 +486,12 @@
                 )))))
     
     (defn register-callbacks [worker]
    -  (log-message "Registering IConnectionCallbacks for " (:assignment-id 
worker) ":" (:port worker))
    -  (msg-loader/register-callback (:transfer-local-fn worker)
    -                                (:receiver worker)
    -                                (:storm-conf worker)
    -                                (worker-context worker)))
    +  (let [transfer-local-fn (:transfer-local-fn worker)
    +        ^IConnection socket (:receiver worker)]
    +    (log-message "Registering IConnectionCallbacks for " (:assignment-id 
worker) ":" (:port worker))
    +    (.registerRecv socket (DeserializingConnectionCallback. (:storm-conf 
worker)
    --- End diff --
    
    ```
    (reify ThreadLocal
      (initialValue [this] (KryoTupleDeserializer. (:storm-conf worker) 
(worker-context worker)))
    ```
    That's it for the thread-local.


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

Reply via email to