ElasticsearchEventSourcingAutoConfiguration

@AutoConfiguration(after = [ElasticsearchRestClientAutoConfiguration::class])
@ConditionalOnClass(value = [ElasticsearchEventStore::class])
@EnableConfigurationProperties(value = [ElasticsearchProperties::class])
class ElasticsearchEventSourcingAutoConfiguration(elasticsearchProperties: ElasticsearchProperties)

Constructors

constructor(elasticsearchProperties: ElasticsearchProperties)

Functions

Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.store.storage"], havingValue = "elasticsearch")
fun elasticsearchEventStore(elasticsearchClient: ReactiveElasticsearchClient): EventStore
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.store.storage"], havingValue = "elasticsearch")
fun elasticsearchEventStreamQueryServiceFactory(elasticsearchClient: ReactiveElasticsearchClient): EventStreamQueryServiceFactory
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.snapshot.storage"], havingValue = "elasticsearch")
fun elasticsearchSnapshotQueryServiceFactory(elasticsearchClient: ReactiveElasticsearchClient): SnapshotQueryServiceFactory
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.store.storage"], havingValue = "elasticsearch")
fun indexTemplateInitializer(elasticsearchOperations: ReactiveElasticsearchOperations): IndexTemplateInitializer
Link copied to clipboard
@Bean
fun jacksonJsonpMapper(): JacksonJsonpMapper
Link copied to clipboard
@Bean
@ConditionalOnProperty(value = ["wow.eventsourcing.snapshot.storage"], havingValue = "elasticsearch")
fun snapshotRepository(elasticsearchClient: ReactiveElasticsearchClient): SnapshotRepository