Your company is developing a background service to process telemetry from an Azure Event Hub. The service is written in C# using the .NET SDK, and it utilizes the `EventProcessorClient` class. To coordinate partition ownership and perform checkpointing, the service uses an Azure Blob Storage container as its checkpoint store.
Which configuration or permission is required to ensure that the `EventProcessorClient` can successfully coordinate partition ownership between multiple running instances of the service?
- The service's identity must have permissions to read, write, and manage leases on the blobs within the specified Azure Blob Storage container.Cevap
- BThe service must be configured with code that explicitly deletes the active blob leases in the container before each partition checkpoint operation.
- CThe service must be configured to use a single, shared user-assigned managed identity across development, test, and production environments.
- DThe service must be granted a Key Vault Access Policy with cryptographic decrypt permissions to access the metadata files in the container.
Cevap
The service's identity must have permissions to read, write, and manage leases on the blobs within the specified Azure Blob Storage container.
The correct answer is correct because the EventProcessorClient coordinates partition ownership by creating metadata blobs in the checkpoint store and acquiring leases on them. Thus, the client requires read, write, and lease management permissions on the container.
Adım Adım Çözüm
Anahtar Kavram
Azure Event Hubs EventProcessorClient checkpointing and partition coordination with Azure Blob Storage
Tahmini Süre:45s