Đức Nguyễn 8/6/2022

[KAFKA] How to chose the number of partitions?

Read Original

This article explains how to determine the number of partitions for a Kafka topic by considering factors like expected write/read throughput, consumer processing limits per partition, broker resources (disk and network), and the challenges of adding partitions later when using key-based messaging. It provides a practical formula: divide target throughput by expected consumer throughput per partition to estimate the minimum partitions needed, using a 1 GB/sec example requiring 20 partitions for 50 MB/sec consumers.

[KAFKA] How to chose the number of partitions?

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet