Help Center> Distributed Message Service for Kafka> FAQs> Topics and Partitions> Is There a Limit on the Number of Topics in a Kafka Instance?
Updated on 2022-11-24 GMT+08:00

Is There a Limit on the Number of Topics in a Kafka Instance?

The number of topics is related to the total number of topic partitions and the number of partitions in each topic. There is an upper limit on the aggregate number of partitions of topics. When this limit is reached, no more topics can be created.

The partition limit varies depending on the flavor, as shown in the following table.

Table 1 Kafka instance specifications

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,200,000

400,000

1800

Table 2 Kafka instance specifications

Flavor

Brokers

Maximum TPS per Broker

Maximum Partitions per Broker

Maximum Consumer Groups per Broker

Maximum Client Connections per Broker

Storage Space

kafka.2u4g.cluster

3–30

30,000

250

20

2000

300 GB–300,000 GB

kafka.4u8g.cluster

3–30

100,000

500

100

4000

300 GB–600,000 GB

kafka.8u16g.cluster

3–30

150,000

1000

150

4000

300 GB–900,000 GB

kafka.12u24g.cluster

3–30

200,000

1500

200

4000

300 GB–900,000 GB

kafka.16u32g.cluster

3–30

250,000

2000

200

4000

300 GB–900,000 GB

Topics and Partitions FAQs

more