Skip to content
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

add some admin tool apis #798

Closed

Conversation

francisoliverlee
Copy link
Member

add some admin tool api

  1. FetchAllTopicList
  2. GetBrokerClusterInfo
  3. FetchPublishMessageQueues

@ShannonDing ShannonDing linked an issue Jul 21, 2022 that may be closed by this pull request
@ShannonDing ShannonDing added the enhancement New feature or request label Jul 21, 2022
ShannonDing
ShannonDing previously approved these changes Jul 25, 2022
Copy link
Member

@ShannonDing ShannonDing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First version for new admin commands.

@ShannonDing ShannonDing dismissed their stale review July 25, 2022 09:35

should check for go 1.12

Copy link
Member

@ShannonDing ShannonDing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ci error for go 1.12

// result.key = broker id , result.value = broker address and port
func ParseBrokerAddrs(jsonString string) map[int64]string {
// for yaml parse, do replace
jsonString = strings.ReplaceAll(jsonString, "0:", "0: ")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not support in go 1.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enrich and optimize admin api
2 participants