Add a console client for hedwig
-------------------------------
Key: BOOKKEEPER-77
URL: https://issues.apache.org/jira/browse/BOOKKEEPER-77
Project: Bookkeeper
Issue Type: New Feature
Components: hedwig-client
Reporter: Sijie Guo
Add a console client for hedwig:
1) show topics / hubs : list topics / available topics
2) pub/sub/unsub topic :
3) describe topic <topic> : show detail information of topic (including
owner/ledgers/subscriptions)
Details:
sub <topic> <subscriberId> <mode> : subscribe a topic as subId
pub <topic> <message> : publish a message to topic
unsub <topic> <subscriberId> : unsubscribe topic for sub Id
show topics : list all the topics
show hubs: show available hub servers
describe topic <topicname> : show detail information about a specific topic
history : history commands
redo <cmdno> : redo the command by command no
redo ! : redo previous command
quit / exit : quit console
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira