[client] add ability to list topic names which exist on the server
jayshrivastava opened this issue · 3 comments
jayshrivastava commented
RobertIndie commented
We could list the topics using the pulsaradmin. Here is the API:
pulsar-client-go/pulsaradmin/pkg/admin/topic.go
Lines 43 to 44 in f476814
Is that OK for you?
jayshrivastava commented
@RobertIndie I think that's okay. Can you please clarify what to pass into the namespace? When I create a client pulsar.NewClient(...)
, what namespace does it use by default?
RobertIndie commented
@jayshrivastava The default namespace is public/default
.