Are you an LLM? You can read better optimized documentation at /guide/extensions/redis.md for this page in Markdown format
Redis
The Redis extension provides support for Redis, implementing CommandBus, DomainEventBus, StateEventBus, EventStore, SnapshotRepository, and PrepareKey.
Installation
kotlin
implementation("me.ahoo.wow:wow-redis")groovy
implementation 'me.ahoo.wow:wow-redis'xml
<dependency>
<groupId>me.ahoo.wow</groupId>
<artifactId>wow-redis</artifactId>
<version>${wow.version}</version>
</dependency>Configuration
- Configuration class: RedisProperties
- Prefix:
wow.redis.
| Name | Data Type | Description | Default Value |
|---|---|---|---|
enabled | Boolean | Whether to enable | true |
YAML Configuration Example
yaml
wow:
command:
bus:
type: redis
event:
bus:
type: redis
eventsourcing:
state:
bus:
type: redis