Sharding

@Configuration
@ConditionalOnProperty(value = ["wow.r2dbc.datasource.type"], matchIfMissing = false, havingValue = "sharding")
class Sharding

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@Bean
fun eventStreamDatabase(@Qualifier(value = "wow.CurrentBoundedContext") boundedContext: NamedBoundedContext, connectionFactoryRegistrar: ConnectionFactoryRegistrar, shardingRegistrar: ShardingRegistrar, shardingProperties: ShardingProperties): EventStreamDatabase
Link copied to clipboard
@Bean
fun eventStreamSchema(@Qualifier(value = "wow.CurrentBoundedContext") boundedContext: NamedBoundedContext, shardingRegistrar: ShardingRegistrar, shardingProperties: ShardingProperties): EventStreamSchema