-
Notifications
You must be signed in to change notification settings - Fork 70
Add set and get commands for MaxConsumersPerSub and MaxConsumersPerTopic and maxProduersPerTopic #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…pic and maxProduersPerTopic --- *Modifications* Add command `set-max-consumers-per-subscription` Add command `get-max-consumers-per-subscription` Add command `set-max-consumers-per-topic` Add command `get-max-consumers-per-topic` Add command `set-max-producers-per-topic` Add command `get-max-producers-per-topic`
sijie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please use a consistent naming pattern for the files?
Also I have made a comment to you and @wolfstudy about the file naming pattern. Can you please use a consistent pattern for organizing the files.
We have two ways on organizing the code:
https://github.com/streamnative/pulsarctl/tree/master/pkg/ctl/topic
https://github.com/streamnative/pulsarctl/tree/master/pkg/ctl/cluster
I would suggest creating a follow up pull request to unify these two different approaches.
e.g. if we take the approach we applied in topic, the cluster one should be organized in the following way.
cluster/crud
cluster/failure_domain/
cluster/anti_affinity_group/
also since you two are working together on this project, please talk to each other closely about this kind of stuffs and make the coding convention consistent.
|
@zymap please rebase master code |
|
@wolfstudy ok |
|
please address my comments and rebase to latest master |
|
@sijie PTAL. Thanks |
…pic and maxProduersPerTopic (streamnative/pulsarctl#67) *Modifications* Add command `set-max-consumers-per-subscription` Add command `get-max-consumers-per-subscription` Add command `set-max-consumers-per-topic` Add command `get-max-consumers-per-topic` Add command `set-max-producers-per-topic` Add command `get-max-producers-per-topic`
…pic and maxProduersPerTopic (streamnative/pulsarctl#67) *Modifications* Add command `set-max-consumers-per-subscription` Add command `get-max-consumers-per-subscription` Add command `set-max-consumers-per-topic` Add command `get-max-consumers-per-topic` Add command `set-max-producers-per-topic` Add command `get-max-producers-per-topic`
Modifications
Add command
set-max-consumers-per-subscriptionAdd command
get-max-consumers-per-subscriptionAdd command
set-max-consumers-per-topicAdd command
get-max-consumers-per-topicAdd command
set-max-producers-per-topicAdd command
get-max-producers-per-topic