Specifications
Kafka Instance Specifications
Kafka instances are compatible with open-source Kafka 1.1.0 and 2.3.0. There are two types of instance specifications. In regions CN East-Shanghai1, CN East-Shanghai2, CN North-Beijing4, and CN South-Guangzhou, the instance specifications are represented by the ECS flavor and the number of brokers. Available options are c6.2u4g.cluster, c6.4u8g.cluster, c6.8u16g.cluster, c6.12u24g.cluster, and c6.16u32g.cluster. In other region, the instance specifications are represented by the bandwidth of the instance. Available options are 100 MB/s, 300 MB/s, 600 MB/s, and 1200 MB/s.
- The number of brokers varies according to the underlying resources, and the underlying resources vary from region to region. The following table lists the specifications for the CN North-Beijing4 region.
- In the following table, transactions per second (TPS) are calculated assuming that the size of a message is 1 KB.
| Bandwidth | Brokers | Underlying Resource Type | I/O Type | TPS (High-Throughput) | TPS (Synchronous Replication) | Maximum Partitions |
|---|---|---|---|---|---|---|
| 100 MB/s | 3 | c6_2 vCPUs | 4 GB | High I/O | 100,000 | 60,000 | 300 |
| c6_2 vCPUs | 4 GB | Ultra-high I/O | 100,000 | 80,000 | 300 | ||
| 300 MB/s | 3 | c6_4 vCPUs | 8 GB | High I/O | 300,000 | 150,000 | 900 |
| c6_4 vCPUs | 8 GB | Ultra-high I/O | 300,000 | 200,000 | 900 | ||
| 600 MB/s | 4 | c6_8 vCPUs | 16 GB | Ultra-high I/O | 600,000 | 300,000 | 1800 |
| 1200 MB/s | 8 | c6_8 vCPUs | 16 GB | Ultra-high I/O | 1.2 million | 400,000 | 1800 |
| Flavor | Brokers | Maximum TPS per Broker | Maximum Partitions per Broker | Maximum Consumer Groups per Broker | Maximum Client Connections per Broker | Storage Space |
|---|---|---|---|---|---|---|
| c6.2u4g.cluster | 3–30 | 30,000 | 250 | 20 | 1000 | 600 GB–300,000 GB |
| c6.4u8g.cluster | 3–30 | 100,000 | 500 | 100 | 2000 | 1200 GB–600,000 GB |
| c6.8u16g.cluster | 3–30 | 150,000 | 1000 | 150 | 3000 | 2400 GB–900,000 GB |
| c6.12u24g.cluster | 3–30 | 200,000 | 1500 | 200 | 4000 | 3600 GB–900,000 GB |
| c6.16u32g.cluster | 3–30 | 250,000 | 2000 | 200 | 5000 | 4800 GB–900,000 GB |
Bandwidth Selection
The bandwidth of a Kafka instance refers to the maximum read or write bandwidth. You are advised to select a bandwidth 30% higher than what is required.
- 100 MB/s
Recommended for up to 3000 client connections, 60 consumer groups, and 70 MB/s service traffic.
- 300 MB/s
Recommended for up to 10,000 client connections, 300 consumer groups, and 210 MB/s service traffic.
- 600 MB/s
Recommended for up to 20,000 client connections, 600 consumer groups, and 420 MB/s service traffic.
- 1200 MB/s
Recommended for up to 20,000 client connections, 600 consumer groups, and 840 MB/s service traffic.
Flavor Selection
- c6.2u4g.cluster with 3 brokers
Recommended for up to 3000 client connections, 60 consumer groups, and 100,000 TPS
- c6.4u8g.cluster with 3 brokers
Recommended for up to 10,000 client connections, 300 consumer groups, and 300,000 TPS
- c6.8u16g.cluster with 3 brokers
Recommended for up to 20,000 client connections, 600 consumer groups, and 600,000 TPS
- c6.12u24g.cluster with 3 brokers
Recommended for up to 20,000 client connections, 600 consumer groups, and 900,000 TPS
- c6.16u32g.cluster with 3 brokers
Recommended for up to 20,000 client connections, 600 consumer groups, and 1,200,000 TPS
Storage Space Selection
Kafka instances support storage with 1 to 3 replicas. The storage space is space consumed by all replicas. When creating an instance, specify its storage space based on the expected service message size and the number of replicas.
For example, if the estimated message size is 100 GB, the disk capacity must be at least: 100 GB x Number of replicas + 100 GB (reserved).
The storage space can be expanded as your service grows.
Topic Quantity
There is no limit on the topic quantity, but there is an upper limit on 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 (see Figure 1) and the specified number of partitions in each topic (see Table 1 and Table 2).
The maximum number of partitions for a 100 MB/s instance is 300.
- If the number of partitions of each topic in the instance is 3, the number of topics is 300/3 = 100.
- If the number of partitions of each topic in the instance is 1, the number of topics is 300/1 = 300.
The maximum number of partitions allowed for an instance with c6.2u4g.cluster and 3 brokers is 750.
- If the number of partitions of each topic in the instance is 3, the number of topics is 750/3 = 250.
- If the number of partitions of each topic in the instance is 1, the number of topics is 750/1 = 750.
Last Article: Application Scenarios
Next Article: Comparing Kafka and RabbitMQ

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.