Aracılığıyla paylaş


ChangeFeedProcessorBuilder.WithInstanceName(String) Method

Definition

Sets the compute instance name that will host the processor.

public Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithInstanceName (string instanceName);
member this.WithInstanceName : string -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Function WithInstanceName (instanceName As String) As ChangeFeedProcessorBuilder

Parameters

instanceName
String

Name of compute instance hosting the processor.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Remarks

Instance name refers to the unique identifier of the compute that is running the processor. Examples could be a VM instance identifier, a machine name, a pod id. When distributing a processor across a cluster of compute hosts, each compute host should use a different instance name.

Applies to