Skip to content

Instantly share code, notes, and snippets.

@jasonjckn
Created February 25, 2011 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonjckn/843408 to your computer and use it in GitHub Desktop.
Save jasonjckn/843408 to your computer and use it in GitHub Desktop.
(ns backtype.storm.spout.KestrelSpout2
(:use backtype.storm.spout)
(:import backtype.storm.spout.ISpout)
(:gen-class
;:name backtype.storm.spout.KestrelSpout
:implements [ISpout]
;;:prefix "ks-"
:init init
:constructors {[String int] []}
:state state))
(defn -init [hostname port]
[[] (atom {:hostname hostname})])
;; (defn impl-open [conf]
;; 3)
#_ (let [x (new backtype.storm.spout.KestrelSpout2 "foo" 3)]
x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment