Package-level declarations

Types

Link copied to clipboard
class AggregateEventStoreKurrent<EVENT : Any, EVENT_PERSISTED : Any>(aggregateTypes: EventTypeNames.ForAggregate<EVENT>, client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : AggregateEventStore<EVENT>
Link copied to clipboard
class AggregateEventSubscriptionSourceKurrent<EVENT : Any, EVENT_PERSISTED : Any>(aggregateTypes: EventTypeNames.ForAggregate<EVENT>, client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : AggregateEventSubscriptionSource<EVENT, CheckpointKurrent>
Link copied to clipboard
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

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.

Link copied to clipboard
data class CheckpointKurrent(val position: Position) : Checkpoint
Link copied to clipboard
class EventStoreProviderKurrent(client: KurrentDBClient, streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : EventStoreProvider

Aggregate stores on one KurrentDB client. streamPrefix names the streams; subscriptions over the same streams must be built with the same prefix.

Link copied to clipboard
class EventSubscriptionProviderKurrent(client: KurrentDBClient, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : EventSubscriptionProvider<CheckpointKurrent>

Subscription sources on one KurrentDB client. streamPrefix selects the streams to subscribe to and must match the prefix the event stores write with.

Link copied to clipboard
class GlobalEventSubscriptionSourceKurrent<EVENT : Any, EVENT_PERSISTED : Any>(client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, globalTypes: EventTypeNames.Global<EVENT>, subscriptionConfig: KurrentSubscriptionConfig = KurrentSubscriptionConfig(), streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : GlobalEventSubscriptionSource<EVENT, CheckpointKurrent>
Link copied to clipboard
data class KurrentConfig(val hosts: List<String>, val tls: Boolean, val port: Int = 2113)

Connection settings for constructing a shared KurrentDB client.

Link copied to clipboard
data class KurrentSubscriptionConfig(val options: SubscriptionOptions = SubscriptionOptions())

Stream options for Kurrent event subscriptions.

Properties

Link copied to clipboard

The prefix of every stream Akashic writes and every $all filter it subscribes with, unless the providers or stores are given another. Changing a deployment's prefix orphans its existing streams.