Share via


EventHubBufferedProducerClientOptions.EnableIdempotentRetries Property

Definition

Indicates whether or not events should be published using idempotent semantics for retries. If enabled, retries during publishing will attempt to avoid duplication with a minor cost to throughput. Duplicates are still possible but the chance of them occurring is much lower when idempotent retries are enabled.

public bool EnableIdempotentRetries { get; set; }
member this.EnableIdempotentRetries : bool with get, set
Public Property EnableIdempotentRetries As Boolean

Property Value

By default, idempotent retries are disabled.

Remarks

It is important to note that enabling idempotent retries does not guarantee exactly-once semantics. The existing Event Hubs at-least-once delivery contract still applies and event duplication is unlikely, but possible.

Applies to