You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/12/14 03:13:45 UTC

[GitHub] [pulsar] lightzhao opened a new issue #13275: Find the mapping topic according to the scope of the bundle

lightzhao opened a new issue #13275:
URL: https://github.com/apache/pulsar/issues/13275


   **Is your enhancement request related to a problem? Please describe.**
   If you want to manually adjust the topic distribution, you need to know which bundles the topic is on, and then uninstall the bundle to reach the topic migration. 
   At present, the corresponding bundle can be found through topic,the command is "pulsar-admin topics bundle-range", but there is no tool to find the mapping topic through the bundle. 
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] wangjialing218 commented on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-993196636


   > Pulsar calculates which bundle it belongs to according to the hash value of topic, getting all topics in the bundle maybe not be supported.
   
   In fact broker have already cached the topics belongs to each bundle in memory, we can easily support it
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] wangjialing218 edited a comment on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
wangjialing218 edited a comment on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-993188703


   I have just add API for this feature, please refer to #13184
   You can get the topic list in a bundle, or list all bundles with their topics under a namespace for one broker.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] lightzhao commented on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
lightzhao commented on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-993217628


   > I have just add API for this feature, please refer to #13184 You can get the topic list in a bundle, or list all bundles with their topics under a namespace for one broker.
   
   Thanks,this api will very useful.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] wangjialing218 commented on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
wangjialing218 commented on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-993188703


   I have just add API for this feature, please refer to #13184
   You can get the topic list in a bundle, all list all bundles with their topics undle a namespace for one broker.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] shibd commented on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
shibd commented on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-993127627


   Pulsar does not store all topic metadata in order to save the storage pressure of metadata.
   
   Pulsar calculates which bundle it belongs to according to the hash value of topic, getting all topics in the bundle maybe not be supported.
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] shibd commented on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
shibd commented on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-993207574


   > In fact broker have already cached the topics belongs to each bundle in memory, we can easily support it
   
   Thanks, But There are some questions:
   
   1. The cache does not represent accurate raw data, does it? 
   2. Only when topic is active can get it?
   3. In ZK, the node storing topic metadata is temporary?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #13275: Find the mapping topic according to the scope of the bundle

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13275:
URL: https://github.com/apache/pulsar/issues/13275#issuecomment-1051439280


   The issue had no activity for 30 days, mark with Stale label.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org