Go to file
R. Tyler Croy 036e875653
Upgrade the dependency on JRuby/Gradle base and jar plugins to generate .jrubydir properly
Fixes #24
2015-10-01 16:49:56 -07:00
buildSrc Introduce some GradleTestKit-based tests and the supporting infra to run them 2015-08-14 11:24:32 -07:00
examples/word-count Upgrade the dependency on JRuby/Gradle base and jar plugins to generate .jrubydir properly 2015-10-01 16:49:56 -07:00
gradle Upgrade the gradle wrapper 2015-09-21 14:48:01 -07:00
src Merge pull request #33 from rtyler/five-zero-fixes 2015-09-21 16:31:44 -07:00
.gitignore Mark the storm extension as incubating for now 2015-08-16 12:44:55 -07:00
.travis.yml Remove oraclejdk7 from travis 2015-09-10 17:01:27 -07:00
LICENSE
README.adoc Add some build/bintray badges 2015-08-18 13:11:51 -07:00
build.gradle Upgrade the dependency on JRuby/Gradle base and jar plugins to generate .jrubydir properly 2015-10-01 16:49:56 -07:00
gradle.properties Upgrade the dependency on JRuby/Gradle base and jar plugins to generate .jrubydir properly 2015-10-01 16:49:56 -07:00
gradlew Upgrade the gradle wrapper 2015-09-21 14:48:01 -07:00
gradlew.bat

README.adoc

<html lang="en"> <head> </head>

JRuby/Gradle Storm Plugin

Build Status

download

JRuby/Gradle plugin to manage creating Storm topology jars

Usage

NOTE: This plugin is stili in a very early stages.

Including the plugin:

buildscript {
    repositories { jcenter() }
    dependencies {
        classpath "com.github.jruby-gradle:jruby-gradle-storm-plugin:0.2.0"
    }
}

Running a "local topology"

The JRubyStormLocal task provides the underlying machinery to run a Redstorm topology in "local" mode:

import com.github.jrubygradle.storm.JRubyStormLocal

task runLocalTopology(type: JRubyStormLocal) {
  // path is considered relative to the working directory
  // the task is executed in
  topology 'topologies/example_topology.rb'
}

Then you can run the local topology with: ./gradlew runLocalTopology

Note
The Gradle script will block until the local topology is terminated (Ctrl+C)

Creating a topolog .jar

Creating a topology .jar file is useflu when you plan on uploading your topology to a running Storm cluster. Currently this plugin will only create that jar for you, it will not upload it.

By default the plugin will include bolts/ and /topologies/ in the generated .jar file.

  • ./gradlew jrubyStorm will create a .jar in build/libs/

</html>