Reactor
is a foundational library building for reactive fast data applications on the JVM. It provides abstractions for Java, Groovy and other JVM languages to make building event and data-driven applications easier. It’s also really fast. On modest hardware, it's possible to process around 15,000,000 events per second with the fastest non-blocking Dispatcher
. Other dispatchers are available to provide the developer with a range of choices from thread-pool style, long-running task execution to non-blocking, high-volume task dispatching.
Reactor
uses a Gradle-based build system. Building the code yourself should be a straightforward case of:
git clone [email protected]:reactor/reactor.git
cd reactor
./gradlew test
This should cause the submodules to be compiled and the tests to be run. To install these artifacts to your local Maven repo, use the handly Gradle Maven plugin:
./gradlew install
Snapshot Maven artifacts are provided in the SpringSource snapshot repositories. To add this repo to your Gradle build, specify the URL like the following:
ext {
reactorVersion = '1.0.0.RELEASE'
}
repositories {
mavenLocal()
maven { url 'http://repo.springsource.org/libs-release' }
//maven { url 'http://repo.springsource.org/libs-milestone' }
//maven { url 'http://repo.springsource.org/libs-snapshot' }
mavenCentral()
}
dependencies {
// Reactor Core
compile 'org.projectreactor:reactor-core:$reactorVersion'
// Reactor Groovy
//compile 'org.projectreactor:reactor-groovy:$reactorVersion'
// Reactor Spring
//compile 'org.projectreactor:reactor-spring:$reactorVersion'
}
Reactor is Apache 2.0 licensed.