Skip to content
dennis zhuang edited this page Jul 14, 2013 · 3 revisions

Dashboard RESTFul API说明

1.4.6的dashboard提供了RESTFul API来获取broker信息,只要设置Content-Type:application/json的http头,返回的应答也将为JSON格式,各个API详细说明如下:

GET /dashboard

查询broker信息,内存,硬盘,启动参数等。

GET /logging

查询metaServer.log日志内容

GET /cluster

获取集群状态信息

GET /java-properties

获取服务器系统属性列表

GET /thread-dump

获取线程堆栈

GET /config

获取服务器配置信息

POST /reload-config

重新加载磁盘上的配置文件并使得部分选项动态生效

GET /topics

获取topic列表信息

GET /topics/:topic

获取单个topic的信息

GET /topics/:topic?group=:group

获取某个group消费某个topic的信息

POST /topics/:topic/group/:group/partitions/:partition/skip

让某个consumer忽略某个topic下的某个分区下没有消费的消息

GET /stats

获取系统统计信息

GET /stats/:item

获取某项系统统计信息,例如item为topics返回: