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

  • 相关阅读:
    搜索--P1605 迷宫
    搜索--P1219 N皇后
    复制百度文库的技巧
    P1036 选数(DFS)
    P1217 [USACO1.5]回文质数 Prime Palindromes
    mysql常用指令
    code blocks 安装与实践
    C++ string 是否以‘’结尾 讨论
    ELK(1) ELK的安装及使用收集日志
    windows下nginx的安装及使用
  • 原文地址:https://www.cnblogs.com/fei33423/p/7188371.html
Copyright © 2011-2022 走看看