exists

abstract fun exists(eventId: String, consumerGroup: String): Boolean(source)

Returns true when a row already exists for the (eventId, consumerGroup) pair. Primarily useful for diagnostics — the ProcessedEventGuard relies on the UNIQUE-constraint violation from insert for the race-free idempotency check.