forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
14 lines
1.8 KiB
HTML
14 lines
1.8 KiB
HTML
<a name="kafka-faq-200426005"></a><a name="kafka-faq-200426005"></a>
|
|
|
|
<h1 class="topictitle1">How Do I Select Storage Space for a Kafka Instance?</h1>
|
|
<div id="body1587865149955"><p id="kafka-faq-200426005__p98934012288">The storage space is the space for storing messages (including messages in replicas), logs and metadata. When specifying storage space, specify the disk type and disk size. Different bandwidth configurations support different disk types. For details, see <a href="Kafka-specification.html#Kafka-specification__en-us_topic_0159429488_table78751014154818">Table 1</a>.For more information about disks, see "Overview" > "Disk Types and Performance" in the <em id="kafka-faq-200426005__i24669441878">Elastic Volume Service User Guide</em>.</p>
|
|
<p id="kafka-faq-200426005__p1966572819387">For example, if the required disk size to store data for the retention period is 100 GB, the disk capacity must be at least: <strong id="kafka-faq-200426005__b1796211590013">100 GB x Number of replicas + 100 GB (reserved space)</strong>. In a Kafka cluster, each node uses a 33 GB disk to store logs and ZooKeeper data. Therefore, the actual available storage space is less than the created storage space.</p>
|
|
<p id="kafka-faq-200426005__p9278193231820">The number of replicas (3 by default) can be configured when you create a topic. If automatic topic creation has been enabled, each automatically created topic has three replicas by default. You can change this quantity by setting <strong id="kafka-faq-200426005__b165487220106">default.replication.factor</strong> on the <strong id="kafka-faq-200426005__b123410264103">Parameters</strong> tab page.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="kafka-faq-191030002.html">Instances</a></div>
|
|
</div>
|
|
</div>
|
|
|