You need to enable JavaScript to run this app.
Cloud Native Message Engine

Cloud Native Message Engine

Copy page
Download PDF
MQTT Agent
Use MQTT Agent
Copy page
Download PDF
Use MQTT Agent
This article describes how to use MQTT Agent in the Message Queue MQTT console.​
tip​
MQTT Agent is an invitation-only feature. To use it, contact your account manager.​
Prerequisites​
Before using MQTT Agent, ensure the following preparations are complete:​
  • The Cloud Message Queue MQTT Edition service has been enabled, and an MQTT instance has been created.​
  • The current account has permissions to view resources such as MQTT instances, clients, and device credentials.​
  • To troubleshoot client issues, it is recommended to prepare the instance ID, Client ID, endpoint, port, protocol, error information, and the time when the issue occurred in advance.​
Steps​
  1. In the top menu bar, select the target region.​
  1. In the left navigation bar, click MQTT > MQTT Agent.​
  1. On the MQTT Agent New Task page, select any of the following methods to use the Agent as needed.​
  • ​
    Ask questions using natural language input
    Ask questions using preset cards
    ​
    1. Enter the issue to be analyzed in the input box and send it.​
    • To reference a target instance, click + in the lower left corner of the input box and select &Reference Resource, or enter @ in the input box and select the target instance from the pop-up instance list.​
    1. View the results returned by the Agent, and focus on distinguishing between confirmed facts, possible causes, recommended actions, and items that cannot be confirmed.​
    • If there are recommended actions, follow the prompts to proceed.​
    ​
Usage examples​
​
Scenarios​
Example questions​
Query instance information​
Which MQTT instances do I have in North China 2?​
View access configuration​
What is the access configuration of the MQTT instance mqtt-xxx?​
Troubleshoot client connection failures​
dev-001 cannot connect to MQTT. Help me troubleshoot.​
Troubleshoot frequent online and offline events​
dev-001 has been frequently going online and offline recently. What could be the reason?​
View online clients​
Which clients are currently online?​
Consult parameter limits​
What are the limits for MQTT's connections, topics, and message size?​
Consult best practices​
For devices on weak networks connecting to MQTT, which QoS should be selected?​
​
Security instructions​
  • Do not enter passwords, AccessKeys, Tokens, device credential plaintext, or sensitive business message content in the conversation.​
  • The results returned by the Agent are based on currently available information and product documentation. To locate production issues, continue verification using console monitoring, client logs, and business-side information.​
Last updated: 2026.09.03 14:45:40