ProcessedEventFactory

Persistence-agnostic factory for ProcessedEvent rows, owned by each service's adapter (analogous to OutboxMessageFactory).

Functions

Link copied to clipboard
abstract fun create(eventId: String, consumerGroup: String): ProcessedEvent

Builds a fresh ProcessedEvent for the given eventId / consumerGroup pair. Implementations stamp processedAt with the current instant.