doc-exports/docs/dms/umn/kafka-faq-200426005.html
Chen, Junjie ca9677b121 DMS UMN 20230201 Version
Reviewed-by: Antonova, Ekaterina <ekantono@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-07-22 13:20:04 +00:00

14 lines
1.6 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. 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 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>