                               (HashMap.))
       :suicide-fn (mk-suicide-fn conf)
       :uptime (uptime-computer)
+      :default-shared-resources (mk-default-resources <>)
+      :user-shared-resources (mk-user-resources <>)
       :receiver-thread-count (get storm-conf WORKER-RECEIVER-THREAD-COUNT)
       :transfer-fn (mk-transfer-fn <>)
       )))

;; stuff below is going to be used.


(defn mk-transfer-fn
  "Make a transfer function."
  [worker]

  (:use [backtype.storm util config log])
  (:require [backtype.storm.cluster :as cluster])
  (:require [backtype.storm.disruptor :as disruptor])
  (:require [backtype.storm.daemon [executor :as executor]])
  (:import [backtype.storm.daemon Shutdownable])
  (:import [backtype.storm.generated StormTopology])
  (:import [backtype.storm.tuple Fields])
  (:import [backtype.storm.task WorkerTopologyContext])
  (:import [backtype.storm.utils ThriftTopologyUtils])
  (:import [java.util.concurrent Executors])
  (:import [java.util ArrayList HashMap])
