yx9o opened a new issue, #274: URL: https://github.com/apache/rocketmq-mqtt/issues/274
Hi, community, I got an unexpected exception when running the development branch in the ide. Exception: <img width="1151" alt="image" src="https://github.com/apache/rocketmq-mqtt/assets/12792261/c4ef2dec-abd2-4ad7-ba29-590918cf7ce2"> Steps to reproduce: - Start a new RocketMQ-ns - Start a new RocketMQ-broker - Start RocketMQ-mqtt Cause analysis: During initialization in `MetaPersistManagerSample`, the information of the consumer group `CID_RMQ_SYS_mqtt_event` will be dynamically obtained. At this time, the broker will return `CODE: 206 DESC: the consumer group[CID_RMQ_SYS_mqtt_event] not online BROKER:`. Here, if code!=200 is judged, an `MQBrokerException` exception will be thrown. The first execution of `refreshMeta()` in init() does not catch the exception, so the startup will fail. <img width="1016" alt="image" src="https://github.com/apache/rocketmq-mqtt/assets/12792261/555b6e93-220b-4f10-ad6b-58ba38c12df8"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org