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.
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
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
Apply the formula
Topic throughput = partitions × per-partition throughput; Time to clear lag = lag ÷ (consume rate − produce rate)
- 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
Amdahl's Law Parallel Speedup Calculator
Calculate theoretical maximum speedup from parallelizing part of a workload across multiple processors, per Amdahl's Law.
CAN Bus Baud Rate & Bus Load Calculator
Calculate CAN bus load percentage from baud rate, average frame length and message frequency.
Consistent Hashing Ring Virtual Node Calculator
Estimate key distribution variance across shards on a consistent hashing ring based on virtual nodes per shard.
CPU Cache AMAT (Average Memory Access Time) Calculator
Calculate average memory access time from L1 hit time, miss rate and miss penalty, with an optional L2 level.
CPU MIPS from Clock Speed & IPC Calculator
Calculate CPU throughput in millions of instructions per second (MIPS) from clock speed and instructions per cycle.
Database B-Tree Index Fanout & Tree Depth Calculator
Estimate B-tree index fanout and tree depth from page size, key+pointer size and row count.
