You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guocheng Zhang (Jira)" <ji...@apache.org> on 2020/12/22 12:01:00 UTC

[jira] [Resolved] (TUBEMQ-470) Add query API of TopicName and BrokerId collection

     [ https://issues.apache.org/jira/browse/TUBEMQ-470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guocheng Zhang resolved TUBEMQ-470.
-----------------------------------
    Fix Version/s: 0.8.0
       Resolution: Fixed

> Add query API of TopicName and BrokerId collection
> --------------------------------------------------
>
>                 Key: TUBEMQ-470
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-470
>             Project: Apache TubeMQ
>          Issue Type: Sub-task
>            Reporter: Guocheng Zhang
>            Assignee: Guocheng Zhang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.8.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently, the Master Web API has detailed query APIs for topic and broker meta info. If we only need to query the TopicName field information, or view the BrokerId collection information, the existing interface is very bloated, and a convenient api is needed to obtain these information.
>  
> Currently, the Master Web API has detailed query APIs for topic and broker meta info. If we only need to query the TopicName field information, or view the BrokerId collection information, the existing interface is very bloated, and a convenient api is needed to obtain these information.
> For example, I configured topic1, topic2 on broker-a, topic2, topic3 on broker-b, topic1, topic3, topic3 on broker-c. I can get the topic distribution details on the broker by querying the topicName api:
> broker-a: [topic1, topic2],
> broker-b: [topic2, topic3],
> broker-c: [topic1, topic2, topic3].
> and, we can get the broker deployment information for each topic through brokerId api:
> topic1: [broker-a, broker-c]
> topic2: [broker-a, broker-b, broker-c]
> topic3: [broker-b, broker-c]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)