ADO.NET Provider for Apache Kafka

Build 25.0.9539

MaximumBatchSize

Specifies the maximum size, in bytes, of a batch of messages that the provider gathers before sending the batch to Apache Kafka.

Data Type

string

Default Value

"16384"

Remarks

A batch may contain one or more messages. The provider accumulates messages for a single partition until the total size of the batch reaches this value, at which point the batch is sent to Apache Kafka.

If a single message exceeds the batch size, the message is sent on its own. Apache Kafka uses batching to increase throughput, so larger batch sizes may reduce the number of requests sent to the broker, while smaller batch sizes may send messages more quickly, but with additional request overhead.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9539