tuteng commented on issue #5533: Missing CLI error handling in pulsar-admin URL: https://github.com/apache/pulsar/issues/5533#issuecomment-549334910 You can try pulsarctl, https://github.com/streamnative/pulsarctl ``` pulsarctl topics --help Operations about topic(s) Usage: pulsarctl topics [flags] Commands: bundle-range Get the namespace bundle range of a topic compact-status Get status of compaction on a topic create Create a topic with n partitions delete Delete a topic get Get the specified topic metadata get-permissions Get the permissions of a topic grant-permissions Grant permissions to a client on a topic internal-info Get the topic internal info internal-stats Get the internal stats of the specified topic last-message-id Get the last message id of a topic list List all exist topics under the specified namespace lookup Look up a topic offload Offload the messages of a topic to a long-term storage offload-status Check the status of data offloading revoke-permissions Revoke a client role permissions on a topic stats Get the stats of an existing topic terminate Terminate a non-partitioned topic unload Unloading a topic update Update partitioned topic partitions Aliases: topics, topic Common flags: -s, --admin-service-url string The admin web service url that pulsarctl connects to. (default "http://localhost:8080") --auth-params string Authentication parameters are used to configure the public and private key files required by tls For example: "tlsCertFile:val1,tlsKeyFile:val2" -C, --color string toggle colorized logs (true,false,fabulous) (default "true") -h, --help help for this command --tls-allow-insecure Allow TLS insecure connection --tls-trust-cert-pat string Allow TLS trust cert file path --token string Using the token to authentication --token-file string Using the token file to authentication -v, --verbose int set log level, use 0 to silence, 4 for debugging (default 3) Use 'pulsarctl topics [command] --help' for more information about a command. ```
---------------------------------------------------------------- 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] With regards, Apache Git Services
