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 snapshotDatabase(@Qualifier(value = "wow.CurrentBoundedContext") boundedContext: NamedBoundedContext, connectionFactoryRegistrar: ConnectionFactoryRegistrar, shardingRegistrar: ShardingRegistrar, shardingProperties: ShardingProperties): SnapshotDatabase
Link copied to clipboard
@Bean
fun snapshotSchema(@Qualifier(value = "wow.CurrentBoundedContext") boundedContext: NamedBoundedContext, shardingRegistrar: ShardingRegistrar, shardingProperties: ShardingProperties): SnapshotSchema