查看消费进度:

sh mqadmin consumerProgress -g $groupName -n ${ip:port}

查看客户端的连接信息

sh mqadmin consumerConnection -g $group -n ${ip:port}

查看topic状态

sh mqadmin topicStatus -t $topic  -n ${ip:port}

按照时间重置offset

sh mqadmin resetOffsetByTime  -t $topic -n  ${ip:port} -g $group -s $ms

创建topic

sh mqadmin updateTopic -t $topic  -n ${ip:port} -c $cluster -r 1 -w 1 -o true