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>
Specify Aerospike host and namespace:
spring.data.aerospike.hosts=127.0.0.1:3000
spring.data.aerospike.namespace=COMMON
You can find usage example in spring-boot-starter-data-aerospike-example module