codelipenghui opened a new pull request #9877:
URL: https://github.com/apache/pulsar/pull/9877
### Motivation
Currently, we can only get all topics by the admin client. This pr supports
to get persistent topic or non-persistent topic by add `--mode=persistent` or
`--mode=non-persistent`.
For Pulsar SQL, is should only get fetch the persistent topics when list
tables. I will push the next PR to fix the pulsar SQL.
### Verifying this change
Unit test and integration test added.
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
- Does this pull request introduce a new feature? (yes)
The document for the admin API is generated automatically, @Jennifer88huang
please double confirm.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]