Pass batch options to librdkafka #3483
Labels
sink: kafka
Anything `kafka` sink related
type: enhancement
A value-adding code change that enhances its existing functionality.
Milestone
Current Vector Version
As kafka does its own batching we don't expose any batching config on the Vector side as that would be redundant. This is a usability challenge and we should allow passing batch configuration options into
librdkafka
.Old issue
Use-cases
Currently, the Vector docs state that batching in the
kafka
sink is unsupported. However, this would be very useful in order to achieve the highest throughput when dealing with a high amount of data:This is greatly explained here:
https://github.com/edenhill/librdkafka/blob/master/INTRODUCTION.md#performance
For example, Kafka-to-Kafka use-case:
https://vector.dev/guides/integrate/sources/kafka/kafka/
If Vector supported Kafka batching it'd be a really great alternative to Kafka MirrorMaker, Replicator, etc in this Kafka-to-Kafka use-case.
The text was updated successfully, but these errors were encountered: