Introduction

What is Distributed Message Service (DMS)

Huawei Cloud Distributed Message Service (DMS) is a highly available, highly reliable, and high-performance distributed message middleware service that is fully compatible with open-source RocketMQ, RabbitMQ, and Kafka, providing message sending and receiving, message storage, message routing, and other functions.

DMS supports multiple message patterns, including point-to-point and publish-subscribe, meeting message communication requirements for different business scenarios. And provides three message engines: RocketMQ, RabbitMQ, and Kafka, supporting both cluster and single-node deployment modes with high availability, high performance, and high reliability characteristics. Through DMS, enterprises can build loosely coupled, scalable distributed system architectures, implementing modern application patterns such as asynchronous message processing and event-driven architecture.

Best Practices Overview

This section provides best practice examples for using Terraform to automatically deploy and manage Huawei Cloud Distributed Message Service (DMS), helping you understand how to efficiently manage cloud message middleware resources using Infrastructure as Code (IaC).

Through the best practices in this section, you can learn the main deployment processes for message middleware resources. These best practices will help you quickly get started with automated Distributed Message Service deployment and lay a solid foundation for subsequent DMS management and operation work.

Best Practices List

This section contains the following best practices:

Kafka Best Practices

  • Deploy Kafka Instance Configuration - Introduces how to use Terraform to automatically configure Kafka instances, including VPC, subnet, security group, and Kafka instance creation.

  • Deploy Kafka Public Access Instance Network - Introduces how to use Terraform to automatically deploy Kafka instance network configuration that supports public network access, including VPC, subnet, security group, EIP, and Kafka instance public access configuration.

  • Deploy Kafka Instance Data Replication - Introduces how to use Terraform to automatically deploy Kafka instance data replication, including creating multiple Kafka instances, Smart Connect, and Smart Connect tasks.

  • Deploy Kafka Topic Message Produce - Introduces how to use Terraform to automatically deploy Kafka topic message production, including creating Kafka instances, topics, and message production.

RocketMQ Best Practices

  • Deploy RocketMQ Basic Instance - Introduces how to use Terraform to automatically deploy a basic RocketMQ instance, including VPC, subnet, security group, and EIP creation.

  • Deploy RocketMQ Consumer Group - Introduces how to use Terraform to automatically deploy a RocketMQ consumer group, including RocketMQ instance and consumer group creation.

  • Deploy RocketMQ Message Send - Introduces how to use Terraform to automatically deploy RocketMQ message sending functionality, including RocketMQ instance, topic, and message sending creation.

  • Deploy RocketMQ Migration Task - Introduces how to use Terraform to automatically deploy RocketMQ migration tasks, including RocketMQ instance and migration task creation.

Reference Materials

Last updated