Alibaba Cloud RocketMQ MQTT Operations Guide

This guide provides Alibaba Cloud's RocketMQ MQTT service architecture, high‑risk operations, routine maintenance, troubleshooting, and command references…


Alibaba Cloud RocketMQ MQTT Operations Guide - cover page
Brand
阿里云
Category
Other
Document type
Service Manual
Language
Chinese
Pages
30
File format
PDF
File size
1.6 MB
Published
30 September, 2026
Updated
30 September, 2026
MD5 checksum
3DD671DA494633B3CB94B1FF8B86852C

About this manual

The RocketMQ MQTT service is a lightweight messaging middleware for mobile and IoT scenarios, built on Alibaba Cloud's proprietary cloud. It consists of MQTT Connection Server (CS), MQTT Dispatch Server (DS), Dauth permission service, and a backend RocketMQ storage component. The CS handles client long‑connections and message forwarding, while the DS processes downstream messages and offline storage.

The document covers an operations overview, classification of high‑risk operations, preparation steps, routine maintenance procedures, fault handling methods, a set of operational commands, capacity assessment guidelines, log reference locations, and instructions for updating configuration parameters. This manual is written in Chinese.

What's inside

  • Legal Disclaimer
  • General Conventions
  • Operations Overview
  • High‑Risk Operations
  • Operations Preparation
  • Routine Maintenance
  • Fault Handling
  • Operations Commands
  • Capacity Assessment
  • Log Reference

Specifications

MQTT CS ComponentCore gateway node handling client long‑connections and message transfer
MQTT DS ComponentBackend service that forwards downstream messages and generates offline messages
Connection Count MonitoringExecute `ss -s` inside the mq‑mqtt‑cs container
TPS MonitoringCheck `/home/admin/logs/onsproxy/commercial_stat.log` for per‑minute TPS summary
Log File for Authentication Errors`/home/admin/logs/onsproxy/authManager.log`

Frequently asked questions

What are the three levels of high‑risk operations?

Operations are classified as G1 (no impact, no change request), G2 (requires change request and product side confirmation), and G3 (requires change request, product and customer confirmation, may impact business).

How can I view the current TPS for MQTT CS?

Log into the MQTT CS container and examine `/home/admin/logs/onsproxy/commercial_stat.log` for the per‑minute TPS field.

Which log file contains client authentication errors?

The authentication logs are stored in `/home/admin/logs/onsproxy/authManager.log`.

How do I modify a configuration parameter for MQTT CS?

Log into each MQTT CS container and run `curl -s "http://127.0.0.1:9999/csConfig/csUpdateMqttConfig?key={KEY}&value={VALUE}"` with the desired key and value.

Download PDF (1.6 MB)

More 阿里云 Manuals


View all 阿里云 manuals →