This topic describes the instance editions, network types, billing items, and billing methods of Message Queue for Apache Kafka for you to better understand the billing rules and select instances as needed.

Note Message Queue for Apache Kafka is free to use during public preview. Users will be charged after public preview.

Instance editions

Message Queue for Apache Kafka provides instances of the Professional Edition and Standard Edition by specifications. The following table compares them.

Item Professional Edition Standard Edition
Version
  • Version 0.10.x to version 2.x are supported.
  • Version 2.x is compatible with version 0.11.x and version 1.x.
  • The default version is version 0.10.x. For more information about how to upgrade the version, see Upgrade the instance version.
Only version 0.10.x is supported.
Instance type Exclusive instances, with a dedicated physical node for each instance Virtual instances, with some instances sharing a node
Message storage time Customized based on your scenarios Up to 7 days
Disaster recovery Multi-zone deployment Single-zone deployment
Performance optimization Customized based on business scenarios Not supported
Cross-region message router Coming soon Not supported
Topic Number of available topics = Number of purchased topics x 2 Number of available topics = Number of purchased topics

Network types

Instances of the VPC type: only provide the default endpoints and can be accessed only through VPC networks

Billing items

The following table describes the Message Queue for Apache Kafka billing items.

Billing item Description Remarks
Peak traffic The purchase of peak traffic is described as follows:
  • Dual-channel read/write is implemented, and the read traffic is consistent with the write traffic. Set the peak traffic based on the maximum value of the peak read or write traffic. For business stability, a margin greater than 30% of the maximum value of the peak read or write traffic is purchased for buffering. For example, if the peak write traffic is 100 MB/s and the peak read traffic is 200 MB/s, you need to purchase an instance of the peak traffic of 200 MB/s x (1 + 30%).
  • The maximum numbers of topics and partitions are specified for different peak traffic specifications. If the number of topics or partitions you want to create exceeds the maximum number specified for the peak traffic, you need to upgrade the instance configuration or delete useless topics or partitions. For more information about how to upgrade the instance configuration, see Upgrade instance specifications.
  • Each peak traffic specification has a disk space limit.
None
Disk capacity To ensure the performance and storage space, each peak traffic specification has a disk space limit. That is, you need to purchase an allowed disk capacity. The peak traffic is also limited by the disk type. Message Queue for Apache Kafka supports the following disk types:
  • Ultra disk:
    • Standard Edition: supports 120 MB/s peak traffic at most.
    • Professional Edition: not supported.
    The maximum peak traffic is 120 MB/s.
  • (Recommended) Solid State Drive (SSD):
    • Standard Edition: supports 120 MB/s peak traffic at most.
    • Professional Edition: supports 2,000 MB/s peak traffic at most.
The disk type cannot be changed after the order is placed. Select the disk type with caution. The 3-replica mechanism is used for both cloud storage and local storage. For example, if your actual business storage capacity is 100 GB, you need to purchase 300 GB for three replicas.
Topic specifications
  • Topic specifications vary with peak traffic. For more information about the mappings between topic specifications and peak traffic values, see the billing rules for peak traffic in Billing method.
  • In addition to the default number of partitions, 16 partitions are added for each additional topic. For example, if you purchased an instance with 50 topics, 20 MB/s peak traffic, and 400 partitions by default, after you add 10 topics, the number of partitions of this instance is increased by 160, and the total number of partitions becomes 560.
  • The number of topics available for an instance of the Professional Edition is twice the number of topics you purchased. For example, if you purchase an instance with 50 topics, the actual number of topics you can create in the instance is 100.
None
Note
  • You need to pay the fees of all billing items.
  • You can set the Maximum Message Retention Period parameter to conserve disk capacity. This parameter indicates the maximum retention period of a message when the disk capacity is sufficient. When the disk capacity is insufficient (that is, the disk usage reaches 85%), the old messages are deleted in advance to ensure service availability. The maximum retention period of a message is 72 hours by default. The value ranges from 24 hours to 168 hours.
  • The number of API calls is not a billing item.

Billing method

Note Message Queue for Apache Kafka currently only supports subscription.

Formulas

Total fee = (Unit price of peak traffic + Unit price of disk capacity x Purchased disk capacity/100 + Topic unit price x Number of purchased topics) x Number of months

Billing rules

Billing rules include the rules for peak traffic, disk capacity, and purchased topics:

  • Billing rules for peak traffic

    Billing rules for peak traffic are related to the instance editions.

    Table 1. Billing rules for peak traffic (Standard Edition)
    Peak traffic (MB/s) Number of topics Number of partitions Singapore (Singapore)(USD/month)
    20 50 400 370
    30 50 500 530
    60 80 600 760
    90 100 800 960
    120 150 900 1160
    Table 2. Billing rules for peak traffic (Professional Edition)
    Peak traffic (MB/s) Number of topics Number of partitions Singapore (Singapore)(USD/month)
    20 50 1100 870
    30 50 1200 1040
    60 80 1400 1510
    90 100 1600 1920
    120 150 1800 2330
    160 180 2000 2740
    200 200 2200 3970
    250 250 2500 4570
    300 300 3000 5170
    600 450 4500 7030
    800 500 5000 8280
    1000 600 6000 9670
    1200 700 7000 10780
    1500 800 8000 12640
    1800 900 9000 14520
    2000 1000 10000 16060
    Note If you need a larger specification, submit a ticket.
  • Billing rules for the disk capacity
    Disk type Disk size(GB) Singapore (Singapore)(USD/month)
    Ultra disk 100 8
    SSD 100 23
  • Billing rules for added topics
    Billing item Number of topics Singapore (Singapore)(USD/month)
    Topic 1 11