-
Notifications
You must be signed in to change notification settings - Fork 262
feat(cli): add cluster metadata command with table/list output modes #2639
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
base: master
Are you sure you want to change the base?
Conversation
|
hello, thanks for contribution, however tests are missing. check |
|
Hi @hubcio, Thanks for the feedback! Tests have been added to test_cluster_metadata_command.rs. Could you please re-review again. Thanks in advance! |
core/binary_protocol/src/cli/binary_cluster/get_cluster_metadata.rs
Outdated
Show resolved
Hide resolved
… as per review comment
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need a review, please ensure CI is green and the PR is rebased on the latest master. Don't hesitate to ping the maintainers - either @core on Discord or by mentioning them directly here on the PR. Thank you for your contribution! |
|
@sagar-shaw-bits do you plan to rebase and fix CI? |
Which issue does this PR close?
Closes #2634
Rationale
The iggy server exposes cluster metadata via
ClusterClient::get_cluster_metadata(), but there was no CLI command to access this information. Users need a way to view cluster topology and node information from the command line.What changed?
Previously, users had no way to query cluster metadata from the CLI. The
iggy cluster metadatacommand now exposes cluster information including node names, IP addresses, transport endpoints (TCP/QUIC/HTTP/WebSocket ports), roles (Leader/Follower), and status. Output is available in both table and list formats via the--list-modeparameter.Local Execution
Passed.
AI Usage