IdempotencyConfig

data class IdempotencyConfig(val deterministicEnabled: Boolean, val bucketMs: Long)

Controls how idempotency keys are generated.

Constructors

Link copied to clipboard
constructor(deterministicEnabled: Boolean, bucketMs: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Time-bucket size used when computing deterministic keys. Bucketed keys help avoid unintended long-term collisions if an upstream system reuses stable ids.

Link copied to clipboard

When true and a caller supplies a stableEventId, the SDK will compute an idempotency key deterministically (HMAC) so re-enqueueing the same business event does not create duplicates.