Integrates Redisson with Helidon framework.
Supports Helidon 1.4.x - 2.3.x
Maven
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-helidon</artifactId>
<version>3.16.2</version>
</dependency>
Gradle
compile 'org.redisson:redisson-helidon:3.16.2'
Config structure is a flat Redisson YAML configuration - single mode, replicated mode, cluster mode, sentinel mode, proxy mode
Below is the configuration for Redisson instance named simple
.
org.redisson.Redisson.simple.singleServerConfig.address=redis://127.0.0.1:6379
org.redisson.Redisson.simple.singleServerConfig.connectionPoolSize=64
org.redisson.Redisson.simple.threads=16
org.redisson.Redisson.simple.nettyThreads=32
@Inject
@Named("simple")
private RedissonClient redisson;
For injection without @Named annotation use instance name - default
.
Try Redisson PRO with ultra-fast performance and support by SLA.