Elasticsearch
Elasticsearch 扩展提供了对 Elasticsearch 的支持,实现了 SnapshotRepository
.
安装
kotlin
implementation("me.ahoo.wow:wow-elasticsearch")
groovy
implementation 'me.ahoo.wow:wow-elasticsearch'
xml
<dependency>
<groupId>me.ahoo.wow</groupId>
<artifactId>wow-elasticsearch</artifactId>
<version>${wow.version}</version>
</dependency>
配置
YAML 配置样例
yaml
wow:
eventsourcing:
snapshot:
storage: elasticsearch