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 2022/06/01 03:40:59 UTC

[GitHub] [pulsar] Gleiphir2769 opened a new issue, #15871: Topic internalStats/stats get failed: Topic not found

Gleiphir2769 opened a new issue, #15871:
URL: https://github.com/apache/pulsar/issues/15871

   **Describe the bug**
   Pulsar v2.8.2
   I craete a topic by using https://pulsar.apache.org/admin/v2/persistent/{tenant}/{namespace}/{topic}, then use https://pulsar.apache.org/admin/v2/persistent/{tenant}/{namespace}/{topic}/internalStats and https://pulsar.apache.org/admin/v2/persistent/{tenant}/{namespace}/{topic}/stats to check it. It will be failed and return "404 "reason": "Topic not found"". But I can successfully request some time after topic is created, so why these two requests return this error when topic is just created? Under what circumstances can I get the correct result?
   


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

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


[GitHub] [pulsar] Gleiphir2769 commented on issue #15871: Topic internalStats/stats get failed: Topic not found

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

   > Could you try the Pulsar 2.8.3?
   
   It still doesn't work. I also test it in v2.9.1 and get the same result. So can you reproduct it? By the way, I uesed pulsar cluster with 3 brokers.
   
   Topic List Response:
   `[
       "persistent://public/lxx-consumer-test/consumer-partition-0"
   ]`
   
   Topic internal stats Response:
   `{
       "reason": "Topic not found"
   }`


-- 
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] liangyuanpeng commented on issue #15871: Topic internalStats/stats get failed: Topic not found

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

   
   topic of `consumer-partition-0` and `consumer`, which one is you use when you request for the topic? 
   
   
   


-- 
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] Gleiphir2769 commented on issue #15871: Topic internalStats/stats get failed: Topic not found

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

   > Topic of `consumer-partition-0` and `consumer`, which one is you use when you request for the topic?
   
   Tnx, I have get the right response using  `consumer-partition-0` .


-- 
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] nodece commented on issue #15871: Topic internalStats/stats get failed: Topic not found

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

   Could you try the Pulsar 2.8.3?


-- 
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] Gleiphir2769 commented on issue #15871: Topic internalStats/stats get failed: Topic not found

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

   > Could you try the Pulsar 2.8.3?
   
   It still doesn't work. I also test it in v2.9.1 and get the same result. So can you reproduct it? By the way, I uesed pulsar cluster with 3 brokers.
   
   Topic List Response:
   `[
       "persistent://public/lxx-consumer-test/consumer-partition-0"
   ]`
   
   Topic internal stats Response:
   `{
       "reason": "Topic not found"
   }`


-- 
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] Gleiphir2769 closed issue #15871: Topic internalStats/stats get failed: Topic not found

Posted by GitBox <gi...@apache.org>.
Gleiphir2769 closed issue #15871: Topic internalStats/stats get failed: Topic not found
URL: https://github.com/apache/pulsar/issues/15871


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