Single-node Kafka Instances
Instance Specifications
A single-node Kafka instance has one broker, is compatible with open-source Kafka 2.7, and is applicable to test scenarios. Do not use it for production services.
For Kafka instances, the number of transactions per second (TPS) is the maximum number of messages that can be written per second. In the following table, transactions per second (TPS) are calculated assuming that the size of a message is 1 KB. The test scenario is private access in plaintext. The disk type is ultra-high I/O.
Flavor |
Brokers |
Max. TPS per Broker |
Max. Partitions per Broker |
Recommended Consumer Groups per Broker |
Max. Client Connections per Broker |
Storage Space (GB) |
Traffic Limit per Broker (MB/s) |
---|---|---|---|---|---|---|---|
kafka.2u4g.single.small |
1 |
20,000 |
100 |
15 |
2000 |
100–10,000 |
40 |
kafka.2u4g.single |
1 |
30,000 |
250 |
20 |
2000 |
100–10,000 |
100 |
Storage Space Estimation
Kafka instances can store messages in multiple replicas. The storage space is consumed by message replicas, logs, and metadata. When creating an instance, specify its storage space based on the expected service message size, the number of replicas, and reserved disk space. Each Kafka broker reserves 33 GB disk space for storing logs and metadata.
For example, if the expected service message size is 100 GB, the number of replicas is 2, and the number of brokers is 1, the disk size should be at least 233 GB (100 GB × 2 + 33 GB × 1).
The storage space can be expanded as your service grows.
Topic Quantity Calculation
There are limits on the topic quantity and the aggregate number of partitions in the topics. When the partition quantity limit is reached, you can no longer create topics.
The number of topics is related to the maximum number of partitions allowed and the specified number of partitions in each topic (see Table 1).
The maximum number of partitions allowed for an instance with kafka.2u4g.single is 250.
- If the number of partitions of each topic in the instance is 2, the maximum number of topics is 250/2 = 125.
- If the number of partitions of each topic in the instance is 1, the maximum number of topics is 250/1 = 250.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot