Reactor
Reactor
is a foundational library building for reactive fast data applications on the JVM. It provides abstractions for Java, Groovy, Clojure and other JVM languages to make building event and data-driven applications easier. It’s also really fast. On a recent laptop with a dual-core processor, it's possible to process over 15,000,000 events per second with the RingBufferProcessor
and over 25,000,000 events per second in a single thread. Other processors 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.
Enrolling
Join the initiative, fork, discuss and PR anytime. Roadmap is collaborative and we do enjoy new ideas, simplifications, doc, feedback, and, did we mention feedback already ;) ? As any other open source project, you are the hero, Reactor is only useful because of you and we can't wait to see your pull request mate !
Build instructions
Reactor
uses a Gradle-based build system. Building the code yourself should be a straightforward case of:
git clone git@github.com: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
Maven Artifacts
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 = '2.0.6.RELEASE'
}
repositories {
maven { url 'http://repo.spring.io/libs-release' }
//maven { url 'http://repo.spring.io/libs-milestone' }
//maven { url 'http://repo.spring.io/libs-snapshot' }
mavenCentral()
}
dependencies {
// Reactor Core
compile 'io.projectreactor:reactor-core:$reactorVersion'
// Reactor Stream
// compile 'io.projectreactor:reactor-stream:$reactorVersion'
// Reactor Groovy
// compile 'io.projectreactor:reactor-groovy:$reactorVersion'
// Reactor Spring
// compile 'io.projectreactor:reactor-spring:$reactorVersion'
// Reactor Net
// compile 'io.projectreactor:reactor-net:$reactorVersion'
// Netty for Reactor Net (auto detects if in classpath)
// compile 'io.netty:netty-all:4.0.27.Final'
}
Documentation
License
Reactor is Apache 2.0 licensed.