The signal which can be used to abort requests.
The partition this batch will be sent to. If this value is set then partitionKey can not be set.
A value that is hashed to produce a partition assignment. It guarantees that messages with the same partitionKey end up in the same partition. If this value is set then partitionId can not be set.
Options for configuring tracing.
Generated using TypeDoc
Options to configure the
createBatch
method on theEventHubProducerClient
.partitionKey
: A value that is hashed to produce a partition assignment.maxSizeInBytes
: The upper limit for the size of batch.abortSignal
: A signal the request to cancel the send operation.Example usage:
{ partitionKey: 'foo', maxSizeInBytes: 1024 * 1024 // 1 MB }