Hi, Eric. Thank you very much for the work you have done. I have no objections to the process, and it would be even better if there could be a rough timeline.
Thanks ZhangJian He On Fri, 3 Mar 2023 at 09:06, Shen Eric <ericshenyu...@outlook.com> wrote: > Hi Zhangjian, > > I am a PM from StreamNative and we also had some internal discussions > related to this topic. Let me share our ongoing planning: > > * We will extract the pulsar admin pkg from the pulsarctl to a > separate open repo which will be called pulsar-admin-go under StreamNative. > * Will iterate the pulsar-admin-go library by adding more tests, > documentation and may also update or fix the existing APIs. > * After the pulsar-admin-go library is stable, we will contribute this > project to Apache Foundation. > > Do you think this plan works for you? > > On 2023/02/17 01:47:26 ZhangJian He wrote: > > I would like to express that the current Pulsar client for Go > > (pulsar-client-go) is missing the pulsar Admin API. As such, I would like > > to propose that we work towards adding this feature to pulsar-client-go. > > > > I believe that this new feature would be a valuable addition to > > pulsar-client-go, and I am excited to work to make it happen. > > > > I have submitted a PR: > https://github.com/apache/pulsar-client-go/pull/959 > > The full api is not currently available, but we are adding. > > > > Below is a simple example about how to use > > > > ## usage > > > > ```go > > package main > > > > import ( > > "fmt" > > "github.com/apache/pulsar-client-go/padmin" > > ) > > > > func main() { > > admin, err := padmin.NewDefaultPulsarAdmin() > > if err != nil { > > panic(err) > > } > > // get namespace topic list > > topics, err := admin.PersistentTopics.ListNamespaceTopics("tenant", > > "namespace") > > if err != nil { > > panic(err) > > } > > fmt.Println(topics) > > } > > ``` > > > > Thanks > > ZhangJian He > > > > > -- > > Best regards, > > Eric Shen 沈瑀昊 >