mq

./mqadmin resetOffsetByTime -g 消费组名 -n namesrv地址 -s now -t topic名字

./mqadmin consumerProgress -g 消费组名 -l topic名字 -n namesrv地址

 

properties.put(“ConsumeFromWhere”, “ConsumeFromLast”);

properties.put(PropertyKey.ConsumeFrom_Where, PropertyKey.ConsumeFrom_Last_Value);

posted @ 2021-03-16 17:02  苏黎世湖畔  阅读(112)  评论(0)    收藏  举报