AggregateFactory

Factory interface for creating Aggregate instances.

This factory pattern allows for different aggregation strategies to be instantiated based on the provided store key, enabling flexible configuration of the aggregation behavior per data stream or destination.

Functions

Link copied to clipboard
abstract fun create(key: StoreKey): Aggregate

Creates a new Aggregate instance for the specified store key.