A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/confluentinc/librdkafka/wiki/How-to-decrease-message-latency below:

How to decrease message latency · confluentinc/librdkafka Wiki · GitHub

Also read the manual's chapter on low latency.

There are two builtin end-to-end latencies in librdkafka:

When trying to minimize end-to-end latency it is important to adjust both of these settings:

Setting fetch.wait.max.ms too low (lower than the partition message rate) causes the occassional FetchRequest to return empty before any new messages were seen on the broker, this in turn kicks in the fetch.error.backoff.ms timer that waits that long before the next FetchRequest. So you might want to decrease fetch.error.backoff.ms too.

In librdkafka <=0.9.2, or on Windows, you'll also want to minimize socket.blocking.max.ms for both producer and consumer.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4