diff --git a/README.md b/README.md index e6a88e5..a1c9414 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,14 @@ Subscriptions can be configured directly in the `host.json` file: The library will automatically create the queues if not existing, using this naming convention: `topic-subscription` , lowercase: -image - +![Queues](https://github.com/mizrael/AzureStorageTopics/assets/1432872/2853a03d-d893-4248-b2c5-1ed9eeaa1272) The setting containing the connection string to the Storage Account can be specified by providing the `ConnectionSettingName` property to the `StorageTopic` attribute: ```csharp [FunctionName(nameof(SendToTopic))] public static async Task SendToTopic( [HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = null)] HttpRequest req, - [StorageTopic("MyTopic", ConnectionSettingName="")] IAsyncCollector outputTopic) + [StorageTopic("MyTopic", ConnectionSettingName="AzureWebJobsStorage")] IAsyncCollector outputTopic) ``` The default value is `AzureWebJobsStorage`.