Skip to main content

CONSUMER_PRODUCTION

Constant CONSUMER_PRODUCTION 

Source
pub const CONSUMER_PRODUCTION: &[(&str, &str)];
Expand description

Production consumer baseline – lean, only non-defaults.

SettingValuelibrdkafka DefaultWhy
partition.assignment.strategycooperative-stickyrange,roundrobinKIP-429: avoids stop-the-world rebalances
fetch.min.bytes1 MiB1 byteBatch fetches for throughput
fetch.wait.max.ms100 ms500 msBound latency when fetch.min.bytes not met
queued.min.messages2000010000010-20K batches are most efficient
enable.auto.commitfalsetrueDFE services manage offset commits
statistics.interval.ms1000 ms0 (disabled)Enable Prometheus metrics