Skip to content

selevinia/spring-boot-starter-data-tarantool-reactive

Repository files navigation

Spring boot starter for using Tarantool database and Spring Data Tarantool Reactive

This project provides Spring Boot starter that allow you to work with Tarantool database in your Spring Boot applications in reactive style.

How to use in your project

To add the starter to a Maven-based project, add the following dependency:

<dependencies>
	<dependency>
		<groupId>io.github.selevinia</groupId>
		<artifactId>selevinia-spring-boot-starter-data-tarantool-reactive</artifactId>
		<version>${version}</version>
	</dependency>
</dependencies>

For Gradle, use the following declaration:

dependencies {
    implementation "io.github.selevinia:selevinia-spring-boot-starter-data-tarantool-reactive:$version"
}

Properties

It's possible to override the default properties listed here below.

Parameter Default value Description
spring.data.tarantool.nodes localhost:3301 Comma-separated list of Tarantool nodes (host:port) to connect to
spring.data.tarantool.user-name guest Tarantool user name
spring.data.tarantool.password Tarantool user password
spring.data.tarantool.connections 1 Number of connections used for sending requests to the server
spring.data.tarantool.connect-timeout 1000ms Timeout for connecting to the Tarantool server. If a duration suffix is not specified, milliseconds will be used
spring.data.tarantool.read-timeout 1000ms Timeout for reading the responses from Tarantool server. If a duration suffix is not specified, milliseconds will be used
spring.data.tarantool.request-timeout 2000ms Timeout for receiving a response from the Tarantool server. If a duration suffix is not specified, milliseconds will be used
spring.data.tarantool.field-naming-strategy org.springframework.data.mapping.model.PropertyNameFieldNamingStrategy Fully qualified name of the FieldNamingStrategy to use
spring.data.tarantool.cluster true Enable tarantool cluster mode
spring.data.tarantool.crud true Enable Tarantool CRUD module usage
spring.data.tarantool.proxy-operations.get-schema-function-name ddl.get_schema API function name for getting the spaces and indexes schema
spring.data.tarantool.proxy-operations.delete-function-name crud.delete API function name for performing the delete operation
spring.data.tarantool.proxy-operations.insert-function-name crud.insert API function name for performing the insert operation
spring.data.tarantool.proxy-operations.replace-function-name crud.replace API function name for performing the replace operation
spring.data.tarantool.proxy-operations.update-function-name crud.update API function name for performing the update operation
spring.data.tarantool.proxy-operations.upsert-function-name crud.upsert API function name for performing the upsert operation
spring.data.tarantool.proxy-operations.select-function-name crud.select API function name for performing the select operation

Learn more

License

This project is Open Source software released under the Apache License 2.0.

About

Spring boot starter for Reactive Spring Data module for Tarantool

Resources

License

Stars

Watchers

Forks

Packages

No packages published