Skip to content

Instantly share code, notes, and snippets.

@sixeyed
Created February 19, 2015 16:04
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 sixeyed/9914a3fa81dfd76905bc to your computer and use it in GitHub Desktop.
Save sixeyed/9914a3fa81dfd76905bc to your computer and use it in GitHub Desktop.
Submitting HDInsight Storm Applications from Visual Studio - Gotcha!
TopologyBuilder topologyBuilder = new TopologyBuilder("MyEventProcessorRealTimeStorm");
{:name "StormApplication1"
:topology
(nontx-topology "StormApplication1"
{
"Spout"
(spout-spec
(scp-spout
{
"plugin.name" "SCPHost.exe"
"plugin.args" ["StormApplication1.dll" "StormApplication1.Spout" "Get"]
"output.schema" {"default" ["count"]}
})
:p 1)
}
{
"Bolt"
(bolt-spec
{
["Spout" "default"] :shuffle
}
(scp-bolt
{
"plugin.name" "SCPHost.exe"
"plugin.args" ["StormApplication1.dll" "StormApplication1.Bolt" "Get"]
"output.schema" {}
})
:p 1)
}
)
:config {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment