Worked Example: Kafka Storage & Partitions Worked Example
Compute Kafka cluster disk TB (with Replication Factor), network MB/s, and optimal partition count.
- Enter the input measurement, system configuration, or astronomical parameter.
- Apply the standard conversion or analytical equation: Ingress_MB_s = (EventsPerSec × AvgMessageKB) / 1024; ClusterStorage_TB = Ingress_MB_s × 86400 × RetentionDays × ReplicationFactor × CompressionRatio / 10⁶.
- Inspect the primary metric, secondary equivalents, and 3 real-time SVG graphs.
Result: Computes Kafka Storage & Partitions via Ingress_MB_s = (EventsPerSec × AvgMessageKB) / 1024; ClusterStorage_TB = Ingress_MB_s × 86400 × RetentionDays × ReplicationFactor × CompressionRatio / 10⁶.
Developer Tools · AI, Cloud & Distributed Systems
Apache Kafka Broker Disk Storage, Replication & Partition Throughput Calculator: inputs, method, and how to read the result
Compute Kafka cluster disk TB (with Replication Factor), network MB/s, and optimal partition count.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Events Per Second: Average producer message ingestion rate (messages/sec).
- Average Message Size Kb: Average uncompressed payload size per message in KB.
- Retention Period Days: Topic log retention period in days.
- Replication Factor: Broker replication factor (typically 3 for production durability).
What the calculation includes
With the default values shown, Total Replicated Cluster Disk Storage is 38.02 TB. The calculation follows Kafka Storage & Partitions Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Events Per Second from 25,000 msg/sec to 27,500 msg/sec changes Total Replicated Cluster Disk Storage from 38.02 TB to 41.822 TB. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Uses official NIST Special Publication 811, IEEE/RFC systems engineering, APA psychometric, and USNO astronomical formulas.
- Empirical metallurgy and calendar conversions represent standard reference-condition approximations.
Scope: Global NIST, IEEE, APA & Astronomical Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Developer Tools: Unit Conversion Calculator, Scientific Calculator, Date Difference & Business Days Calculator.