The error message “No route info of this topic” was prompted
Error details:
[org.apache.rocketmq.client.exception.MQClientException: No route info of this topic: generation%rocketmq-gab9bb2877z8|generation%video_task
General possible causes:
Incorrect topic_name. Check whether the namespace is correct. The topic name should be formatted as rocketmq-xxx|[ns]%[topicName].
namespace refers to the name of a namespace, which can be copied under the Namespace tab on the cluster details page in the console.
topic_name refers to the name of a topic, which can be copied under the Topic tab on the cluster details page in the console.
Other possible causes:
Broker prohibits automatic creation of topics, and users do not manually create topics in the console.
Broker is not connected to Name Server correctly. Submit a ticket for assistance.
Producer is not connected to Name Server correctly. Check whether the access point is entered correctly.
The error message “Send [3] times, still failed, cost [334]ms” was prompted
Error details:
com.freesky.inspiration.domain.mq.MQProducerManager:sendMessage``[org.apache.rocketmq.client.exception.MQClientException: Send [3] times, still failed, cost [334]ms, Topic: video_task, BrokersSent: [broker-2, broker-0, broker-1]
General possible causes:
No permissions. Check whether the namespace has been authorized.
4.X Client Enabling VIPChannel and Cluster Exception "Org.Apache.Rocketmq.Remoting.Exception.RemotingConnectException"
After enabling VIPChannel on the client, the SDK will establish a connection with a designated port of the Broker for message sending and receiving. However, this feature is not applicable to cloud-based clusters. When enabled, connection failure or other errors may occur. If encountered, disable this feature during initialization.
producer.setVipChannelEnabled(false);
consumer.setVipChannelEnabled(false);