apache / apache/pulsar

[Bug] Admin CLI - resource groups documentation is wrong

Open
#21,994 3 comments 0 reactions 1 assignee Assigned to @frankjkelly View on GitHub
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

Pulsar 2.10.3
Admin Client 3.1.0

### Minimal reproduce step
```
./pulsar-3.1.0/bin/pulsar-admin --admin-url http://platform-pulsar-broker:8080 resourcegroups update options RG_healthking_wav --byte-publish-rate 262144
```

### What did you expect to see?

Successful update

### What did you see instead?

Need to provide just 1 parameter

### Anything else?

As per https://pulsar.apache.org/reference/#/3.1.x/pulsar-admin/resourcegroups?id=update it looks like there should be an `options` parameter but that seems to be incorrect

This works (without the `options`)
```
./pulsar-3.1.0/bin/pulsar-admin --admin-url http://platform-pulsar-broker:8080 resourcegroups update RG_healthking_wav --byte-publish-rate 262144
```

I would be willing to submit a PR but I can't find the repo with the documentation.

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.