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/02/07 09:57:16 UTC

[GitHub] [pulsar] yongliangcode opened a new issue #9518: get-message-by-id command require friendly reminder tips

yongliangcode opened a new issue #9518:
URL: https://github.com/apache/pulsar/issues/9518


   **Describe the bug**
   Step 1: Where execute this command, get tips 'Topic not found' .
   
   $ bin/pulsar-admin topics get-message-by-id persistent://public/melon-namespace/melon-topic -l 110 -e 24630
   17:20:57.545 [AsyncHttpClient-7-1] WARN  org.apache.pulsar.client.admin.internal.TopicsImpl - Exception 'Topic not found' occurred while trying to get message.
   java.lang.NullPointerException
     at org.apache.pulsar.admin.cli.CmdTopics$GetMessageById.run(CmdTopics.java:798)
     at org.apache.pulsar.admin.cli.CmdBase.run(CmdBase.java:75)
     at org.apache.pulsar.admin.cli.PulsarAdminTool.run(PulsarAdminTool.java:246)
     at org.apache.pulsar.admin.cli.PulsarAdminTool.main(PulsarAdminTool.java:288)
   
   Step 2: But this topic is exist, I can get subscription from the topic.
   
   $ bin/pulsar-admin topics subscriptions persistent://public/melon-namespace/melon-topic
   "my-subscription"
   
   **To Reproduce**
   Steps to reproduce the behavior:
   Flow step1 and step2.
   
   **Expected behavior**
   
   Friendly reminder
   
   **Screenshots**
   ![image](https://user-images.githubusercontent.com/46984218/107143012-91004d80-696d-11eb-92cb-a77ed547466f.png)
   
   ![image](https://user-images.githubusercontent.com/46984218/107143020-9fe70000-696d-11eb-93c2-54dd69c2a2b9.png)
   
   
   **Desktop (please complete the following information):**
    - OS: Linux
   
   
   


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



[GitHub] [pulsar] sijie closed issue #9518: get-message-by-id command require friendly reminder tips

Posted by GitBox <gi...@apache.org>.
sijie closed issue #9518:
URL: https://github.com/apache/pulsar/issues/9518


   


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