Updated on 2022-02-24 GMT+08:00

Kafka Billing

DMS for Kafka supports pay-per-use. For details, see Pricing Details.

Billing Items

DMS for Kafka is billed based on Kafka instance specifications and storage space.

Table 1 DMS for Kafka billing

Billing Item

Description

Instance

  • Kafka instances are billed based on their bandwidth. To ensure stable service running, you are advised to choose a bandwidth 30% higher than the actual throughput expected for read or write traffic, whichever is higher. You should also consider other parameters described in Table 2.

    For example, if the maximum write traffic is 70 MB/s and the maximum read traffic is 200 MB/s, the bandwidth to be chosen should be at least 200 MB/s x (1 + 30%) = 260 MB/s.

  • Kafka instances can be billed on a pay-per-use (hourly) basis.

Storage space

  • Queues are billed based on the storage space. For each type of instance specification, you can choose the common I/O, high I/O, or ultra-high I/O disk type to meet your service requirements.

    You can specify the number of replicas. For example, if the required disk size to store message data is 500 GB and there are three replicas, the disk capacity should be at least: 500 GB x 3 = 1500 GB.

  • Table 2 describes the storage space options in 100 GB increments.
  • The storage space can be billed on a pay-per-use (hourly) basis.
Table 2 Kafka instance specifications

Specification (Bandwidth)

Maximum Partitions

Maximum Consumer Groups

Maximum Client Connections

Storage Space

100 MB/s

300

60

3000

600 GB–90,000 GB

300 MB/s

900

300

10,000

1,200 GB–90,000 GB

600 MB/s

1800

600

20,000

2,400 GB–90,000 GB

1200 MB/s

1800

600

20,000

4,800 GB–90,000 GB

Billing Modes

Pay-per-use (hourly): This billing mode is flexible, enabling you to start and stop services anytime. You pay only for the actual usage duration. The minimum time unit is one hour. Less than an hour is recorded as an hour.

Changing Configurations

  • You can change the bandwidth for a Kafka instance. After the change, you will be billed based on the new specifications.
  • You can also change the storage space of Kafka queues. You will be billed based on the new storage space after the storage space increase. Storage space can only be increased, and cannot be decreased. The minimum increase increment is 100 GB.