From ebf64d4a35f64d8b3539faa0af5887f973d823dd Mon Sep 17 00:00:00 2001 From: Shubham Sharma Date: Thu, 12 Jan 2023 11:08:59 +0530 Subject: [PATCH] Add docs Signed-off-by: Shubham Sharma --- .../supported-pubsub/setup-azure-eventhubs.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-azure-eventhubs.md b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-azure-eventhubs.md index 85044b27d..f3bba3c9a 100644 --- a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-azure-eventhubs.md +++ b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-azure-eventhubs.md @@ -105,6 +105,14 @@ spec: value: "myeventhubstoragecontainer" ``` +## Sending multiple messages + +Azure Event Hubs natively supports sending multiple messages in a single operation. To set the metadata for bulk operations, set the query parameters on the HTTP request or the gRPC metadata as documented [here]({{< ref pubsub_api >}}) + +| Metadata | Default | +|----------|---------| +| `metadata.maxBulkPubBytes` | `1000000` | + ## Create an Azure Event Hub Follow the instructions [here](https://docs.microsoft.com/azure/event-hubs/event-hubs-create) on setting up Azure Event Hubs.