Skip to content

Add set and get commands for MaxConsumersPerSub and MaxConsumersPerTopic and maxProduersPerTopic - #67

Merged
sijie merged 4 commits into
masterfrom
namespace-max-setting
Oct 12, 2019
Merged

Add set and get commands for MaxConsumersPerSub and MaxConsumersPerTopic and maxProduersPerTopic#67
sijie merged 4 commits into
masterfrom
namespace-max-setting

Conversation

@zymap

@zymap zymap commented Sep 18, 2019

Copy link
Copy Markdown
Member

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

---

*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 sijie left a comment

Copy link
Copy Markdown
Member

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.

Comment thread pkg/ctl/namespace/max_consumers_per_subscription_get.go Outdated
Comment thread pkg/ctl/namespace/max_consumers_per_subscription_set.go Outdated
Comment thread pkg/ctl/namespace/max_consumers_per_topic_get.go Outdated
Comment thread pkg/ctl/namespace/max_producers_per_topic_get.go Outdated
@sijie sijie added area/pulsar/namespaces type/task Indicates a chore or a small item of work labels Sep 18, 2019
@sijie sijie added this to the 0.0.1 milestone Sep 18, 2019
@wolfstudy

Copy link
Copy Markdown
Contributor

@zymap please rebase master code

@sijie sijie mentioned this pull request Sep 19, 2019
29 tasks
@zymap

zymap commented Sep 19, 2019

Copy link
Copy Markdown
Member Author

@wolfstudy ok

@sijie

sijie commented Oct 3, 2019

Copy link
Copy Markdown
Member

please address my comments and rebase to latest master

@zymap

zymap commented Oct 11, 2019

Copy link
Copy Markdown
Member Author

@sijie PTAL. Thanks

@sijie
sijie merged commit 15527fe into master Oct 12, 2019
@sijie
sijie deleted the namespace-max-setting branch October 12, 2019 08:42
tisonkun pushed a commit to tisonkun/pulsar-client-go that referenced this pull request Aug 15, 2023
…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`
tisonkun pushed a commit to apache/pulsar-client-go that referenced this pull request Aug 16, 2023
…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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/pulsar/namespaces type/task Indicates a chore or a small item of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants