您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
RocketMQ Offset 相关命令,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
bin/mqadmin cloneGroupOffset -n 192.168.1.x:9876 -s SCANRECORD_GROUP -d my-tst-cloneoffset -t SCANRECORD Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 clone group offset success. srcGroup[SCANRECORD_GROUP], destGroup=[my-tst-cloneoffset], topic[SCANRECORD][baseuser@HZPL001180 rocketmq]$
bin/mqadmin statsAll -t SCANRECORD -n 192.168.1.x:9876 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 Topic Consumer Group Accumulation InTPS OutTPS InMsg24Hour OutMsg24Hour SCANRECORD ZtoSignGroup 2290 3063.95 522.72 233588408 29106863 SCANRECORD newOpenPartnerDeadlineJob 2641 3063.95 522.72 233588408 29052057 SCANRECORD smartidivision-scanrecord-dis 3110 3063.95 399.03 233588408 30052791 SCANRECORD PanguRecordGroup 574 3063.95 2041.17 233588408 174462813 SCANRECORD code-send-consumer 881 3063.95 1162.63 233588408 60072932 SCANRECORD shenZhouOneSiteKpiConsumer 669 3063.95 1798.57 233588408 137543100 SCANRECORD SortComplementConsumer 2746 3063.95 522.72 233588408 11466488 SCANRECORD **my-tst-cloneoffset** 0 3063.95 0.00 233588408 0 SCANRECORD tf_wonder_waybill_center_scanrec 2516 3063.95 522.72 233588408 29056664 SCANRECORD dpmComScanRecordConsumer 0 3063.95 0.00 233588408 0 SCANRECORD zms_syncer_SCANRECORD 286 3063.95 3063.73 233588408 233588419
bin/mqadmin resetOffsetByTime -n 192.168.1.x:9876 -g ReceiveOrderGroupNew -t SCANRECORD -s now Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 rollback consumer offset by specified group[ReceiveOrderGroupNew], topic[SCANRECORD], force[true], timestamp(string)[now], timestamp(long)[1540196941761] brokerName queueId offset broker-a 20 40375806 broker-b 55 40209057 broker-c 24 40151853 broker-b 22 40284014 broker-a 53 40321569 broker-d 59 39980239 bin/mqadmin resetOffsetByTime -n 192.168.1.x:9876 -g ReceiveOrderGroupNew -t SCANRECORD -s 1540196941761 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 rollback consumer offset by specified group[ReceiveOrderGroupNew], topic[SCANRECORD], force[true], timestamp(string)[1540196941761], timestamp(long)[1540196941761] brokerName queueId offset broker-a 20 40375806 broker-b 55 40209057 broker-c 24 40151853 broker-b 22 40284014 "g", "group", true, "set the consumer group" "s", "timestamp", true, "set the timestamp[now|currentTimeMillis|yyyy-MM-dd#HH:mm:ss:SSS]" "f", "force", true, "set the force rollback by timestamp switch[true|false]" "c", "cplus", false, "reset c++ client offset"
看完上述内容,你们掌握RocketMQ Offset 相关命令的方法了吗?如果还想学到更多技能或想了解更多相关内容,欢迎关注亿速云行业资讯频道,感谢各位的阅读!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。