|
|
|
|
0.20.x |
5.3.x |
9.2.x |
9.0.x |
0.19.x |
5.2.x |
9.0.x |
9.0.x |
0.18.x |
5.1.x |
9.0.x |
9.0.x |
0.17.x |
5.0.x |
9.0.x |
9.0.x |
0.15.x, 0.16.x |
4.8.x |
7.2.x |
7.1.x |
0.14.x |
4.7.x |
7.2.x |
7.1.x |
0.13.x |
4.6.x |
7.2.x |
7.1.x |
0.12.x |
4.5.x |
7.1.x |
7.0.x |
0.11.x |
4.4.x |
7.0.x |
7.0.x |
0.10.x |
4.3.x |
6.1.x |
6.1.x |
0.9.x |
4.0.x |
6.1.x |
6.1.x |
0.8.x |
3.5.x |
6.1.x |
6.1.x |
0.7.x |
3.4.x |
5.1.x |
5.1.x |
0.5.x, 0.6.x |
2.4.x |
4.4.x |
4.4.x |
Add the Maven dependency for reactive repository:
<dependency>
<groupId>com.aerospike</groupId>
<artifactId>spring-boot-starter-data-aerospike-reactive</artifactId>
</dependency>or non-reactive repository:
<dependency>
<groupId>com.aerospike</groupId>
<artifactId>spring-boot-starter-data-aerospike</artifactId>
</dependency>All available properties for configuring Aerospike client can be checked in AerospikeProperties.
Properties for configuring spring-data-aerospike can be checked in AerospikeDataProperties.
To disable Aerospike repositories use:
spring.data.aerospike.repositories.type=NONEYou can find usage example in spring-boot-starter-example-aerospike module.
Examples are based on embedded-aerospike dependency usage (which requires Docker to be running on the machine). This is the only requirement to be able to run the tests on your machine.
If you want to run the tests in these modules against your Aerospike instance follow these steps:
-
Update
application.propertiesfile with the required Aerospike settings (hosts, namespace). This will point spring-data to your Aerospike instance. -
Update
bootstrap.propertiesfile withembedded.containers.enabled=false. This will disable setup of embedded Aerospike.