Calculator Hub

Technology & Computing

Kafka Partition Throughput & Consumer Lag Calculator

Estimate topic throughput capacity from partition count and per-partition rate, plus time to clear consumer lag.

Your inputs

Change any value to update the result instantly.

Technology & Computing
MB/s
msg/s
msg/s

Time to clear consumer lag

16.6667 min

Topic max throughput

120 MB/s

Net drain rate

5,000 msg/s

Current lag

50,00,000 msgs

Partitions

12

Lag will clear as long as consume rate stays above produce rate.

Formula and working

Topic throughput = partitions × per-partition throughput; Time to clear lag = lag ÷ (consume rate − produce rate)

  1. 1

    Collect the inputs

    Number of partitions = 12; Per-partition throughput (MB/s) = 10 MB/s; Current consumer lag (messages) = 5,000,000; Consumer processing rate (msgs/sec) = 20,000 msg/s; Producer rate (msgs/sec) = 15,000 msg/s

  2. 2

    Apply the formula

    Topic throughput = partitions × per-partition throughput; Time to clear lag = lag ÷ (consume rate − produce rate)

  3. 3

    Result

    Time to clear consumer lag = 16.6667 min

Frequently asked questions

Important limitation

This is an educational estimate based only on the values and formula shown. Verify current rates, rules, units, and professional standards before relying on the result. It is not personalized financial or investment advice.

Report a mistake or request an improvement

Tell us if a formula, unit, explanation, or result needs attention. Your message will include this calculator’s name and page.

Related calculators

Back to Calculator Hub