ShardingDataSourcingAutoConfiguration

@AutoConfiguration
@ConditionalOnClass(value = [R2dbcEventStore::class])
@ConditionalOnProperty(value = ["wow.r2dbc.datasource.type"], matchIfMissing = false, havingValue = "sharding")
@EnableConfigurationProperties(value = [ShardingProperties::class])
class ShardingDataSourcingAutoConfiguration(val shardingProperties: ShardingProperties)

Constructors

Link copied to clipboard
constructor(shardingProperties: ShardingProperties)

Types

Link copied to clipboard
object Companion

Properties

Functions

Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun connectionFactoryRegistrar(): ConnectionFactoryRegistrar
Link copied to clipboard
@Bean
@ConditionalOnMissingBean
fun shardingRegistrar(namedShardingList: List<NamedAggregateIdSharding>): ShardingRegistrar