You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this needs some configuration-by-convention love in the sense that we should probably only permit a keyed blob client so it can be configured in settings.
I see it a different way. It should allow for a keyed blob client, but shouldn't require it to be keyed. If no "blob service key" was configured, it should just get the BlobServiceClient from DI. If a "blob service key" was specified, then use it to get the BlobServiceClient from DI.
That way the simple case "just works". You just need to:
var builder = WebApplication.CreateBuilder(args);
builder.AddAzureBlobClient("blobConnectionName");
builder.AddAzureEventProcessorClient("eventhubns");
and the EventProcessorClient grabs the BlobClient. There's no need to force someone to use keys when there is only one.
The text was updated successfully, but these errors were encountered:
As per #2870 comments by @eerhardt
The text was updated successfully, but these errors were encountered: