feat(cli): add cluster metadata command with table/list output modes#2639
feat(cli): add cluster metadata command with table/list output modes#2639sagar-shaw-bits wants to merge 12 commits intoapache:masterfrom
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? |
|
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! |
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