This topic describes the instance specifications, regions, instance types, billable items, and billing methods of Message Queue for Apache Kafka .

Notice The connector feature of Message Queue for Apache Kafka is in public preview. This feature is independent of Message Queue for Apache Kafka instances. Therefore, you are not charged on the Message Queue for Apache Kafka side when you use a connector to synchronize data between Message Queue for Apache Kafka and another Alibaba Cloud service. Alibaba Cloud does not provide Service Level Agreement (SLA) commitments for the connector feature in public preview. For more information about SLA commitments and billing of other related services, see descriptions of the corresponding services.

Instance specifications

The following table describes the specifications for each instance edition of Message Queue for Apache Kafka .

Item Standard Edition (High Write) Professional Edition (High Write) Professional Edition (High Read)
Version Only version 0.10.x is supported.
  • Versions 0.10.x to 2.x are supported.
  • Version 2.x is compatible with versions 0.11.x and 1.x.
  • By default, version 0.10.x is deployed. For more information about how to upgrade the version, see Upgrade the instance version.
  • Versions 0.10.x to 2.x are supported.
  • Version 2.x is compatible with versions 0.11.x and 1.x.
  • By default, version 0.10.x is deployed. For more information about how to upgrade the version, see Upgrade the instance version.
Ratio of maximum read traffic to maximum write traffic 1:1 1:1 5:1
Instance type Virtual instance (some resources are shared.) Dedicated instance Dedicated instance
Message retention period Up to seven days Customizable Customizable
Disaster recovery Single-zone deployment Multi-zone deployment Multi-zone deployment
Performance optimization Not supported Customizable Customizable
Cross-region message router Not supported Not supported Not supported
Topic The number of topics you can create is the same as the number of topics you purchase. The number of topics that you can create is twice the number of topics that you purchase. The number of topics that you can create is twice the number of topics that you purchase.

Regions

The following table lists the regions where Message Queue for Apache Kafka can be deployed.

Region group Region
Region group 1 China (Hangzhou)
China (Shanghai)
China (Qingdao)
China (Beijing)
China (Zhangjiakou)
China (Hohhot)
China (Shenzhen)
China (Heyuan)
China (Chengdu)
Region group 2 China (Hong Kong)
Singapore (Singapore)
Japan (Tokyo)
US (Virginia)
US (Silicon Valley)
Germany (Frankfurt)
UK (London)
Region group 3 Malaysia (Kuala Lumpur)
India (Mumbai)
Indonesia (Jakarta)

Instance types

Message Queue for Apache Kafka provides the following instance types:

  • VPC type: Instances of this type can be accessed only from a virtual private cloud (VPC).
  • Internet and VPC type: Instances of this type can be accessed from the Internet or a VPC.

Billable items

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

Billable item Description
Public traffic Public traffic is divided into read traffic and write traffic. The maximum read traffic rate and maximum write traffic rate provided by Message Queue for Apache Kafka are the same. Select a bandwidth based on your peak read or write traffic rate, whichever is higher. This billable item applies only to instances of the Internet and VPC type.
Traffic specification
  • The traffic specification refers to all the traffic consumed by your elastic network interfaces (ENIs), including business traffic and in-cluster replication traffic. Business traffic is the actual messaging traffic of your business. In-cluster replication traffic includes the traffic generated when the data in your Message Queue for Apache Kafka cluster is backed up several times. After backup, the cluster has a total of three replicas by default.
  • Business traffic is divided into read traffic and write traffic. The ratio of maximum read traffic to maximum write traffic is 1:1 for the High Write edition and is 5:1 for the High Read edition. Select an ENI traffic specification based on your peak read or write traffic, whichever is higher. To ensure business stability, purchase a margin for buffering. The margin is about 30% of the peak read or write traffic, whichever is higher.
Disk capacity
  • To ensure performance and sufficient storage space, select the minimum disk capacity based on your traffic specification.
  • Message Queue for Apache Kafka supports ultra disks and solid-state drives (SSDs). We recommend that you use SSDs.
  • The unit price of a disk varies with the disk type.
  • Exercise caution when you select a disk type, because the disk type cannot be changed after the order is placed.
  • By default, data is stored in three replicas.
    • For a Standard Edition instance, if you purchase a disk of 300 GB in size, the actual storage space that you can use to store your business data is 100 GB. The remaining 200 GB is used to store backups.
    • For a Professional Edition instance, if you purchase a disk of 300 GB in size, the actual storage space that you can use to store your business data is 300 GB. 600 GB of storage space is free for you to store backups.
      Notice Gifted storage space applies only to topics whose storage engines are cloud storage. For more information about cloud storage, see Storage engine comparison.
Topic specification
  • The maximum number of topics or partitions varies with your traffic specification.
  • In addition to the default number of partitions, 16 partitions are added for each additional topic. For example, you purchase an instance that has 50 topics, 20 MB/s of bandwidth, and 400 default partitions. If you purchase 10 additional topics for this instance, 160 partitions are added to the instance. The total number of partitions increases to 560.
  • The number of topics that you can create on a Professional Edition instance is twice the number of topics that you purchase. For example, if you purchase a Professional Edition instance that has 50 topics, the actual number of topics that you can create on this instance is 100.
Note
  • You are charged for the items described in the previous table.
  • To save disk space, you can adjust down the value of Message Retention Period. This parameter specifies how long messages can be retained when disk space is sufficient. If the disk usage reaches 90%, earlier messages are deleted to ensure service availability. By default, messages are retained for a maximum of 72 hours. You can also select a period between 24 and 168 hours.
  • The number of API calls is not a billable item.

Billing method

Message Queue for Apache Kafka supports only the subscription billing method.

Billing formulas

Billing formulas are related to instance types.

  • If you have bought an instance of the Internet and VPC type, select the public traffic, traffic specification, disk capacity, and number of additional topics as required. The following formula is used to calculate billing fees:

    Total fees = (Unit price of public traffic + Unit price of traffic specification + Unit price of disk capacity × Disk capacity/100 + Unit price of a topic × Number of additional topics) × Number of months

  • If you have bought an instance of the VPC type, select the traffic specification, disk capacity, and number of additional topics as required. The following formula is used to calculate billing fees:

    Total fees = (Unit price of traffic specification + Unit price of disk capacity × Disk capacity/100 + Unit price of a topic × Number of additional topics) × Number of months

Billing rules

Billing rules include the rules for the public traffic, traffic specifications, disk capacity, and additional topics:

  • Billing rules for public traffic

    For more information, see Subscription.

  • Billing rules for traffic specifications

    The billing rules for traffic specifications vary with your instance edition.

    Table 1. Billing rules for traffic specifications of Standard Edition (High Write) instances
    Traffic specification Maximum read traffic of ENIs (MB/s) Maximum write traffic of ENIs (MB/s) Number of topics Number of partitions Unit price in region group 1 (USD/month) Unit price in region group 2 (USD/month) Unit price in region group 3 (USD/month)
    alikafka.hw.2xlarge 3×20 3×20 50 400 250 370 340
    alikafka.hw.3xlarge 3×30 3×30 50 500 360 530 480
    alikafka.hw.6xlarge 3×60 3×60 80 600 520 760 700
    alikafka.hw.9xlarge 3×90 3×90 100 800 660 960 880
    alikafka.hw.12xlarge 3×120 3×120 150 900 800 1160 1070
    Table 2. Billing rules for traffic specifications of Professional Edition (High Write) instances
    Traffic specification Maximum read traffic of ENIs (MB/s) Maximum write traffic of ENIs (MB/s) Number of topics Number of partitions Unit price in region group 1 (USD/month) Unit price in region group 2 (USD/month) Unit price in region group 3 (USD/month)
    alikafka.hw.2xlarge 3×20 3×20 50 1100 600 870 800
    alikafka.hw.3xlarge 3×30 3×30 50 1200 780 1040 1040
    alikafka.hw.6xlarge 3×60 3×60 80 1400 1130 1510 1510
    alikafka.hw.9xlarge 3×90 3×90 100 1600 1440 1920 1920
    alikafka.hw.12xlarge 3×120 3×120 150 1800 1750 2330 2330
    alikafka.hw.16xlarge 3×160 3×160 180 2000 2060 2740 2740
    alikafka.hw.20xlarge 3×200 3×200 200 2200 2980 3970 3970
    alikafka.hw.25xlarge 3×250 3×250 250 2500 3430 4570 4570
    alikafka.hw.30xlarge 3×300 3×300 300 3000 3880 5170 5170
    alikafka.hw.60xlarge 3×600 3×600 450 4500 5280 7030 7030
    alikafka.hw.80xlarge 3×800 3×800 500 5000 6220 8280 8280
    alikafka.hw.100xlarge 3×1000 3×1000 600 6000 7270 9670 9670
    alikafka.hw.120xlarge 3×1200 3×1200 700 7000 8100 10780 10780
    alikafka.hw.150xlarge 3×1500 3×1500 800 8000 9500 12640 12640
    alikafka.hw.180xlarge 3×1800 3×1800 900 9000 10910 14520 14520
    alikafka.hw.200xlarge 3×2000 3×2000 1000 10000 12070 16060 16060
    Table 3. Billing rules for traffic specifications of Professional Edition (High Read) instances
    Traffic specification Maximum read traffic of ENIs (MB/s) Maximum write traffic of ENIs (MB/s) Number of topics Number of partitions Unit price in region group 1 (USD/month) Unit price in region group 2 (USD/month) Unit price in region group 3 (USD/month)
    alikafka.hr.2xlarge 50+2×10 10+2×10 50 1100 600 870 800
    alikafka.hr.3xlarge 75+2×15 15+2×15 50 1200 780 1040 1040
    alikafka.hr.6xlarge 150+2×30 30+2×30 80 1400 1130 1510 1510
  • Billing rules for disk capacity
    Disk type Disk capacity (GB) Unit price in region group 1 (USD/month) Unit price in region group 2 (USD/month) Unit price in region group 3 (USD/month)
    Ultra disk 100 6 8 8
    SSD 100 16 23 21
  • Billing rules for additional topics
    Billable item Number of topics Unit price in region group 1 (USD/month) Unit price in region group 2 (USD/month) Unit price in region group 3 (USD/month)
    Topic 1 7 11 10