Devin,

Il Lun 25 Ott 2021, 23:05 Devin Bost <devin.b...@gmail.com> ha scritto:

> I've occasionally run into situations where I needed a list of all the
> topics in a cluster.
> If I want to submit a PR to add something to one of the endpoints to return
> a list of all topics in a cluster, what part of the API should that go
> under?
>
> e.g. bin/pulsar-admin tenants list-all-topics
>        bin/pulsar-admin clusters list-all-topics
>        etc.
>
> Thoughts?
>

Some thoughts:
- What about partitioned topics? Are we listing partitions?
- What about permissions? Are we listing only allowed tenants/topics? Or is
this allowed only for super users?
- This can be a heavy weight operation, and also the list may be very big,
how do we deal with this problem?

Is it possible to create a bash/python/jewellery script that loops on the
tenants and gets the list you want?

Thanks for sharing your needs and your proposal

Enrico



> Anyone opposed to this?
>
> Devin G. Bost
>

Reply via email to