zoukankan      html  css  js  c++  java
  • rocketmq 命令示例

    http://www.360doc.com/content/16/0111/17/1073512_527143896.shtml

    http://www.cnblogs.com/marcotan/p/4256857.html

    RocketMQ常用命令

    二、根据msgId查询消息

    1、文档:

    指令

    queryMsgById

    类路径

    com.alibaba.rocketmq.tools.command.message.QueryMsgByIdSubCommand

    参数

    是否必填

    说明

    -i

    msgId

    -h

    打印帮助

    -n

    nameserve服务地址列表,格式ip:port;ip:port;...

    举例

    查询msgId= 0A2D2FA800002A9F0000000000000000的消息,nameserve地址为10.45.47.168:9876

    sh mqadmin queryMsgById –n 10.45.47.168:9876 –i 0A2D2FA800002A9F0000000000000000

    打印内容:

    Topic:               ZTEExample

    Tags:                [SimpleTest]

    Keys:                [SimpleTest-1]

    Queue ID:            0

    Queue Offset:        0

    CommitLog Offset:    0

    Born Timestamp:      2014-02-26 14:49:10,875

    Store Timestamp:     2014-02-26 14:48:44,840

    Born Host:           10.45.46.229:4231

    Store Host:          10.45.47.168:10911

    System Flag:         0

    Properties:          {TAGS=SimpleTest, KEYS=SimpleTest-1, WAIT=true}

    Message Body Path:   /tmp/rocketmq/msgbodys/0A2D2FA800002A9F0000000000000000

  • 相关阅读:
    前沿科技相关
    52ABP
    C#常用及注意点
    电商秒杀系统:电商微服务框架组件
    面向对象OOP
    《CLR via C#》书籍
    .NET发布时选择【独立部署模式】引发的故事
    unity 3D物体使用EventSystem响应事件
    协程
    unity 2d碰撞/ui组件碰撞
  • 原文地址:https://www.cnblogs.com/fei33423/p/7188371.html
Copyright © 2011-2022 走看看