Skip to content
Docs Try Aspire

AzureMessagingEventHubsProcessorSettings Properties

Class Properties 3 members
Represents additional settings for configuring a EventHubs.EventProcessorClient.
BlobClientServiceKey Section titled BlobClientServiceKey nullable string?
Gets or sets the IServiceProvider service key used to obtain an Azure BlobServiceClient.
public string? BlobClientServiceKey { get; set; }
A BlobServiceClient is required when using the Event Processor. If a BlobClientServiceKey is not configured, an un-keyed BlobServiceClient will be retrieved from the IServiceProvider. If a BlobServiceClient is not available in the IServiceProvider, an exception is thrown.
BlobContainerName Section titled BlobContainerName nullable string?
Get or sets the name of the blob container used to store the checkpoint data. If this container does not exist, Aspire will attempt to create it. If this is not provided, Aspire will attempt to automatically create a container with a name based on the Namespace, Event Hub name and Consumer Group. If a container is provided in the connection string, it will override this value and the container will be assumed to exist.
public string? BlobContainerName { get; set; }
ConsumerGroup Section titled ConsumerGroup nullable string?
Gets or sets the name of the consumer group.
public string? ConsumerGroup { get; set; }