maxEventBatchSize |
10 |
The maximum number of events included in a batch for a single invocation. Must be at least 1. |
minEventBatchSize1 |
1 |
The minimum number of events desired in a batch. The minimum applies only when the function is receiving multiple events and must be less than maxEventBatchSize . The minimum size isn't strictly guaranteed. A partial batch is dispatched when a full batch can't be prepared before the maxWaitTime has elapsed. Partial batches are also likely for the first invocation of the function after scaling takes place. |
maxWaitTime1 |
00:01:00 |
The maximum interval that the trigger should wait to fill a batch before invoking the function. The wait time is only considered when minEventBatchSize is larger than 1 and is otherwise ignored. If less than minEventBatchSize events were available before the wait time elapses, the function is invoked with a partial batch. The longest allowed wait time is 10 minutes.
NOTE: This interval is not a strict guarantee for the exact timing on which the function is invoked. There is a small magin of error due to timer precision. When scaling takes place, the first invocation with a partial batch may occur more quickly or may take up to twice the configured wait time. |
batchCheckpointFrequency |
1 |
The number of batches to process before creating a checkpoint for the event hub. |
prefetchCount |
300 |
The number of events that is eagerly requested from Event Hubs and held in a local cache to allow reads to avoid waiting on a network operation |
transportType |
amqpTcp |
The protocol and transport that is used for communicating with Event Hubs. Available options: amqpTcp , amqpWebSockets |
webProxy |
null |
The proxy to use for communicating with Event Hubs over web sockets. A proxy cannot be used with the amqpTcp transport. |
customEndpointAddress |
null |
The address to use when establishing a connection to Event Hubs, allowing network requests to be routed through an application gateway or other path needed for the host environment. The fully qualified namespace for the event hub is still needed when a custom endpoint address is used and must be specified explicitly or via the connection string. |
targetUnprocessedEventThreshold1 |
null |
The desired number of unprocessed events per function instance. The threshold is used in target-based scaling to override the default scaling threshold inferred from the maxEventBatchSize option. When set, the total unprocessed event count is divided by this value to determine the number of function instances needed. The instance count will be rounded up to a number that creates a balanced partition distribution. |
initialOffsetOptions/type |
fromStart |
The location in the event stream to start processing when a checkpoint does not exist in storage. Applies to all partitions. For more information, see the OffsetType documentation. Available options: fromStart , fromEnd , fromEnqueuedTime |
initialOffsetOptions/enqueuedTimeUtc |
null |
Specifies the enqueued time of the event in the stream from which to start processing. When initialOffsetOptions/type is configured as fromEnqueuedTime , this setting is mandatory. Supports time in any format supported by DateTime.Parse(), such as 2020-10-26T20:31Z . For clarity, you should also specify a timezone. When timezone isn't specified, Functions assumes the local timezone of the machine running the function app, which is UTC when running on Azure. |
clientRetryOptions/mode |
exponential |
The approach to use for calculating retry delays. Exponential mode retries attempts with a delay based on a back-off strategy where each attempt will increase the duration that it waits before retrying. The fixed mode retries attempts at fixed intervals with each delay having a consistent duration. Available options: exponential , fixed |
clientRetryOptions/tryTimeout |
00:01:00 |
The maximum duration to wait for an Event Hubs operation to complete, per attempt. |
clientRetryOptions/delay |
00:00:00.80 |
The delay or back-off factor to apply between retry attempts. |
clientRetryOptions/maximumDelay |
00:00:01 |
The maximum delay to allow between retry attempts. |
clientRetryOptions/maximumRetries |
3 |
The maximum number of retry attempts before considering the associated operation to have failed. |