|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
Integrates Redisson with [Micronaut](https://micronaut.io/) framework.
|
|
|
|
|
|
|
|
|
|
Supports Micronaut 2.0.x - 2.5.x
|
|
|
|
|
Supports Micronaut 2.0.x - 3.0.x
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
@ -13,15 +13,21 @@ Maven
|
|
|
|
|
```xml
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
|
<artifactId>redisson-micronaut</artifactId>
|
|
|
|
|
<version>3.16.1</version>
|
|
|
|
|
<!-- for Quarkus v2.0.x - v2.5.x -->
|
|
|
|
|
<artifactId>redisson-micronaut-20</artifactId>
|
|
|
|
|
<!-- for Quarkus v3.0.x -->
|
|
|
|
|
<artifactId>redisson-micronaut-30</artifactId>
|
|
|
|
|
<version>3.16.2</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Gradle
|
|
|
|
|
|
|
|
|
|
```groovy
|
|
|
|
|
compile 'org.redisson:redisson-micronaut:3.16.1'
|
|
|
|
|
// for Micronaut v2.0.x - v2.5.x
|
|
|
|
|
compile 'org.redisson:redisson-micronaut-20:3.16.2'
|
|
|
|
|
// for Micronaut v3.0.x
|
|
|
|
|
compile 'org.redisson:redisson-micronaut-30:3.16.2'
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### 2. Add settings into `application.yml` file
|
|
|
|
|