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 2019/06/09 04:07:35 UTC

[GitHub] [pulsar] hungndiam opened a new issue #4498: Seperate name of namespaces, topics from its parent

hungndiam opened a new issue #4498: Seperate name of namespaces, topics from its parent
URL: https://github.com/apache/pulsar/issues/4498
 
 
   I'm on a frond-end project to manage Pulsar by Angular.
   When I call API, received Namespace is: _**public/default**_ : _**public**_ is tenant, but the name actually is **_default_**. Or with Topic _**persistent://public/functions/assignments**_: topic is _**assignments**_
   
   #### Expected behavior 
   
   I want to have APIs to get topics, namespaces with their properties like
   
   > [
     {
       "name": "metadata",
       "tenant": "public",
       "namespace": "functions",
       "type": "persistent",
       "link": "persistent://public/functions/metadata"
     },
     {
       "name": "assignments",
       "tenant": "public",
       "namespace": "functions",
       "type": "persistent",
       "link": "persistent://public/functions/assignments"
     }
   ]
   
   #### Actual behavior
   
   Now what I get is:
   
   > [
   "persistent://public/functions/metadata", 
   "persistent://public/functions/assignments", 
   "persistent://public/functions/coordinate"
   ]
   
   #### Steps to reproduce
   
   Add new APIs.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services