AerospikeReactor is a reactive wrapper for Aerospike Java Client based on Project Reactor and compatible with Spring Framework 5 and Spring Webflux.
AerospikeReactor is written in Java, fully compatible with Java 8, 9 and 10. It also has first class support for Kotlin.
- Fully non-blocking and asynchronous.
- Compatible with Java 8, 9 and 10.
- Full support for Kotlin.
- Efficient use of threads with event loops (supports Netty event loops).
- Netty event loops could be shared with Spring Webflux.
AerospikeReactor is hosted in Maven Central. To add the library to your project:
- Gradle
compile("com.github.aalobaidi:aerospike-reactor:0.1")
- Maven
<dependency>
<groupId>com.github.aalobaidi</groupId>
<artifactId>aerospike-reactor</artifactId>
<version>0.1</version>
</dependency>
To run the sample Spring Boot application, you need Docker installed.
cd examples-kotlin
# run Aerospike with Docker
docker run -tid --name aerospike -p 3000:3000 -p 3001:3001 -p 3002:3002 -p 3003:3003 aerospike/aerospike-server
# run the Spring Boot Sample
./gradlew clean bootRun