BackendProviderKurrent

class BackendProviderKurrent(client: KurrentDBClient, snapshotStoreProvider: SnapshotStoreProvider, checkpointStoreProvider: CheckpointStoreProvider<CheckpointKurrent>, subscriptionOwnershipProvider: SubscriptionOwnershipProvider, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : BackendProvider<CheckpointKurrent> , EventStoreProvider, EventSubscriptionProvider<CheckpointKurrent> , SnapshotStoreProvider, CheckpointStoreProvider<CheckpointKurrent> , SubscriptionOwnershipProvider(source)

Kurrent events and subscriptions with the snapshot, checkpoint and ownership providers of another backend. streamPrefix names every aggregate stream; the default keeps a deployment's existing streams, and a consumer with streams under another prefix passes that prefix.

Constructors

Link copied to clipboard
constructor(client: KurrentDBClient, snapshotStoreProvider: SnapshotStoreProvider, checkpointStoreProvider: CheckpointStoreProvider<CheckpointKurrent>, subscriptionOwnershipProvider: SubscriptionOwnershipProvider, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX)

Functions