/trident-examples

A set of applications written in Storm Trident

Primary LanguageJava

trident-examples

A set of applications written in Storm Trident.

Applications

Usage

Build

$ git clone git@github.com:mayconbordin/trident-examples.git
$ cd trident-examples/
$ mvn -P<profile> package

Use the local profile to run the applications in local mode or cluster to run in a remote cluster.

Submit a Topology

Syntax:

$ storm <jar> storm.trident.StormRunner --app <application-name> --mode (local|remote) [OTHER OPTIONS...]

Options:

  --config-str=<str>    A serialized list of key/value pairs (ex.: sa.spout.threads=2,sa.sink.threads=5)
  --runtime=<runtime>    Runtime in seconds (local mode only) [default: 300].
  --topology-name=<name> The name of the topology (remote mode only).