Files
doc-exports/docs/dms/umn/kafka-faq-200426005.html
chenjunjie 190f09501c DMS UMN 20250314 version
Reviewed-by: Liudmila Denisova <ldenisov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: chenjunjie <chenjunjie@huawei.com>
Co-committed-by: chenjunjie <chenjunjie@huawei.com>
2025-10-06 09:50:17 +00:00

14 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<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. To select a storage space, specify the disk type and disk size. For more information, see <a href="https://docs.otc.t-systems.com/en-us/usermanual/evs/en-us_topic_0014580744.html" target="_blank" rel="noopener noreferrer">Disk Types and Performance</a>.</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 × 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> 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>