Compartilhar via


EventProcessor<TPartition>.Identifier Property

Definition

A unique name used to identify this event processor.

public string Identifier { get; }
member this.Identifier : string
Public ReadOnly Property Identifier As String

Property Value

Remarks

The identifier can be set using the Identifier property on the EventProcessorOptions passed when constructing the processor. If not specified, a random identifier will be generated.

It is recommended that you set a stable unique identifier for processor instances, as this allows the processor to recover partition ownership when an application or host instance is restarted. It also aids readability in Azure SDK logs and allows for more easily correlating logs to a specific processor instance.

Applies to