Here are some common problems of Rocketmq console:
1. In consumer group, TPS only displays the message TPS of the master node. If it is in the master-slave mode, the TPS consumed from the slave will not be displayed here.
So the actual displayed TPS is smaller than the real TPS
2. After deleting a topic, the consumer groups that have been consumed from the topic will not be deleted
3. Here Delay refers to the difference between the consumer's offset and the offset of the topic placement. If it is -1, it means that consumption has not yet started, and if it is 0, it means that all consumption has been completed.
4. Set up the console in the production environment to set the login account password
Account password configuration file: {your actual directory}/rocketmq-externals/rocketmq-console/src/main/resources/users.properties
# Define Admin # Account = password, role # admin account is admin, password is admin admin = admin, 1 # Define Users # Ordinary user accounts are user1, user2, and passwords are corresponding to user1, user2 user1=user1 user2=user2
Login configuration:
1) {your directory}/rocketmq-externals/rocketmq-console/src/main/resources/application.properties
#users.propertiesThe configuration file is placed under /tmp/rocketmq-console/data
rocketmq.config.dataPath=/tmp/rocketmq-console/data
#Must create userInfo file: ${rocketmq.config.dataPath}/users.properties if the login is required
#Set here to true, use
rocketmq.config.loginRequired=true with users.properties
2) Copy users.properties
cp -f {your directory}/rocketmq-externals/rocketmq-console/src/main/resources/users.properties /tmp/rocketmq-console/data/
3) Repack after modification
mvn clean package -Dmaven.test.skip=true
4) Re-run the new jar package
Blogger: Test to make money
Motto: Focus on testing and automation, and strive to improve the efficiency of research and development; through testing and diligence to complete the original accumulation, through reading and financial management to financial freedom.
csdn:https://blog.csdn.net/ccgshigao
Blog Park: https://www.cnblogs.com/qa-freeroad/