You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "DevilMayCry99 (via GitHub)" <gi...@apache.org> on 2024/07/13 11:07:03 UTC
[I] 我是单机部署的RocketMQ,想要禁用RocketMQ-mqtt中用不上的代码,比如raft,应该如何做 [rocketmq-mqtt]
DevilMayCry99 opened a new issue, #305:
URL: https://github.com/apache/rocketmq-mqtt/issues/305
(no comment)
--
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-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 我是单机部署的RocketMQ,想要禁用RocketMQ-mqtt中用不上的代码,比如raft,应该如何做 [rocketmq-mqtt]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #305:
URL: https://github.com/apache/rocketmq-mqtt/issues/305#issuecomment-5250116370
**Issue Evaluation**
Category: `type/question`
RocketMQ MQTT does not currently provide a configuration switch to disable specific modules like Raft. The Raft module is used for leader election in multi-node deployments; in single-node mode, it still initializes but may produce noise in logs.
**Workaround:** You can suppress the Raft-related log output by adjusting the log level for the Raft package in `log4j2.xml` (e.g., set it to `WARN` or `ERROR`).
A proper feature to disable unused modules would require a code change. This could be tracked as an enhancement if there is community interest.
---
*Automated evaluation by github-manager*
--
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-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 我是单机部署的RocketMQ,想要禁用RocketMQ-mqtt中用不上的代码,比如raft,应该如何做 [rocketmq-mqtt]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #305:
URL: https://github.com/apache/rocketmq-mqtt/issues/305#issuecomment-5655107075
**Issue Evaluation**
Category: `type/question`
To disable unused modules like Raft in a single-node RocketMQ-MQTT deployment:
1. Check the mqtt configuration file for module enable/disable switches
2. If no switch exists, you may need to modify the startup configuration to exclude the Raft-related plugins
3. The continuous error logs suggest the Raft module is trying to form a cluster — disabling it or configuring it for single-node mode should resolve the log spam
---
*Automated evaluation by github-manager*
--
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-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 我是单机部署的RocketMQ,想要禁用RocketMQ-mqtt中用不上的代码,比如raft,应该如何做 [rocketmq-mqtt]
Posted by "DevilMayCry99 (via GitHub)" <gi...@apache.org>.
DevilMayCry99 commented on issue #305:
URL: https://github.com/apache/rocketmq-mqtt/issues/305#issuecomment-2226857883
如果不禁用的话,日志会不间断大量提示报错
--
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-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org