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

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   In my case, I would like to get the broker corresponding to the topic. When 
I use `pulsar-admin topics lookup` with a non-existent topic, I expect to throw 
the topic not found, but return a broker address.
   
   # Reproduce this issue
   1. Run broker
   ```
   docker run -it apachepulsar/pulsar:3.1.2 bin/pulsar standalone
   ```
   2. Run lookup
   ```
   bin/pulsar-admin topics lookup public/default/my-topic
   
   pulsar://localhost:6650
   ```
   
   
   
   
   
   
   
   
   ### Solution
   
   _No response_
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to