类摘要 |
BrokerStatsTool |
Usage: stats -config configFilePath -item item |
ClosePartitionsTool |
关闭一个topic的指定分区
usage:
ClosePartitionsTool -topic xxtopic -start 2 -end 5
ClosePartitionsTool -topic xxtopic -start 2 -end 5 -host 10.2.2.3
ClosePartitionsTool -topic xxtopic -start 2 -end 5 -port 9999
ClosePartitionsTool -topic xxtopic -start 2 -end 5 -host 10.2.2.3 -port 9999
|
CopyOffsetInZk |
usage:
CopyOffsetInZk -topic xxtopic -src 1 -target 2 -start 5 -end 10
CopyOffsetInZk -topic xxtopic -src 1 -target 2 -start 5 -end 10 -targetStart 2
|
DeletePartitionFiles |
清除一个topic的某些分区数据
usage:
DeletePartitionFiles -dataDir /home/admin/metadata -topic xxtopic -start 5 -end 10
|
MovePartitionFiles |
分区编号(目录)向前或向后偏移,一般用于分区迁移时
usage:
MovePartitionFiles -dataDir /home/admin/metadata -topic xxtopic -start 5 -end 10 -offset -5
|
OpenPartitionsTool |
清除一个topic的所有分区 的关闭标记
usage:
OpenPartitionsTool -topic xxtopic
OpenPartitionsTool -topic xxtopic -host 10.2.2.3
OpenPartitionsTool -topic xxtopic -port 9999
OpenPartitionsTool -topic xxtopic -host 10.2.2.3 -port 9999
|
ReloadConfig |
触发重载配置文件. |
ShellTool |
代表各种小工具 |
SlaveResubscribe |
触发slave重启数据同步,在动态增加topic时用
usage:
SlaveResubscribe
SlaveResubscribe -host 10.2.2.3
SlaveResubscribe -port 9999
SlaveResubscribe -host 10.2.2.3 -port 9999
|
SlaveStatus |
Query asynchronous slave status. |
StopBrokerTool |
Stop broker
usage:
StopBrokerTool -host 10.2.2.3 -port 9999
|
TimetunnelPluginTool |
usage:
TimetunnelPluginTool -start
TimetunnelPluginTool -stop
TimetunnelPluginTool -look |
ZkManager |
|