Package-level declarations

Types

Link copied to clipboard
data class CommitStatsResult(val committedStats: EmissionStats = EmissionStats(), val cumulativeStats: EmissionStats = EmissionStats())
Link copied to clipboard
@Singleton
class CommittedStatsStore

Stores stat histograms per stream. For hydrating state messages with stats.

Link copied to clipboard
data class EmissionStats(var count: Long = 0, var bytes: Long = 0)

Simple record level stat data. Used for committed and emitted stats.

Link copied to clipboard

tallies "emitted" record and byte counts from records on read

Link copied to clipboard
data class PartitionStats(val counts: PartitionHistogram = PartitionHistogram(), val bytes: PartitionHistogram = PartitionHistogram())
Link copied to clipboard

A singleton class responsible for managing additional state statistics, specifically histograms of metrics associated with partitions and destination streams. This class provides methods to add metrics values, retrieve combined statistics, and maintain metrics completeness with default values.

Link copied to clipboard
@Singleton
class StateStatsEnricher(statsStore: CommittedStatsStore, namespaceMapper: NamespaceMapper, stateAdditionalStatsStore: StateAdditionalStatsStore)

Decorates states with destination stats — both top level and per stream.