-
Hi all,
but my problem is my Kafka lag is too high per topic could you help me figure this out . i think there should be a configuration to increase Kafka librdkafka parallelism within vector or something using vector version 0.25.2 thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, the number of Vector replicas is only 1 part of the solution. Since Vector fully implements "librdkafka", you can choose whatever "partition.assignment.strategy" you wish in your Vector deployment. Say you have 10 partitions for "test_topic" : you would then deploy 10 vector instances, with Kafka source config looking something like this :
This will ensure that topic is consumed from all 10 partitions in parallel, and even rebalancing is taken into account. grtz, PS : if it's throughput you're looking for, you should not need that high timeouts ;-) |
Beta Was this translation helpful? Give feedback.
Hi,
the number of Vector replicas is only 1 part of the solution. Since Vector fully implements "librdkafka", you can choose whatever "partition.assignment.strategy" you wish in your Vector deployment.
Say you have 10 partitions for "test_topic" : you would then deploy 10 vector instances, with Kafka source config looking something like this :
This will ensure that topic is consumed from all 10 partitions in parallel, and even rebalancing is taken into account.
There are obviously other assignment strategies too, but it depends on your kafka setup which t…