Skip to content

aalobaidi/AerospikeReactor

Repository files navigation

Build Status codecov Maven Central

Aerospike Reactor

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.

Features

  1. Fully non-blocking and asynchronous.
  2. Compatible with Java 8, 9 and 10.
  3. Full support for Kotlin.
  4. Efficient use of threads with event loops (supports Netty event loops).
  5. Netty event loops could be shared with Spring Webflux.

Maven Central

AerospikeReactor is hosted in Maven Central. To add the library to your project:

  1. Gradle
compile("com.github.aalobaidi:aerospike-reactor:0.1")
  1. Maven
<dependency>
    <groupId>com.github.aalobaidi</groupId>
    <artifactId>aerospike-reactor</artifactId>
    <version>0.1</version>
</dependency>

Examples

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

Releases

No releases published

Packages

No packages published