ChangeFeedProcessorBuilder.WithInstanceName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.