Re: [DISCUSS] Plan for Pulsar Go Client 1.0.0

2024-03-29 Thread Matteo Merli
The plan looks great. I’d add one more item for consideration: using WithX() methods instead of a strict for configurations: https://github.com/apache/pulsar-client-go/issues/68 -- Matteo Merli On Fri, Mar 29, 2024 at 5:38 AM Zike Yang wrote: > Hi, everyone > > The Pulsar Go Client[0] is n

Re: [DISCUSS] Plan for Pulsar Go Client 1.0.0

2024-03-29 Thread Yunze Xu
Regarding the `Close` method, I think it's exceptional. It's designed to return no error so that users can call `defer client.Close()` [1]. To process errors in `Close()`, we can panic in the implementation and let users use `recover` to catch the panic. [1] https://github.com/apache/pulsar-client

[DISCUSS] Plan for Pulsar Go Client 1.0.0

2024-03-29 Thread Zike Yang
Hi, everyone The Pulsar Go Client[0] is now relatively mature. I've also noticed that many people in the community have widely used it in their production environments. However, there's still no official 1.0 version for the Go client. I would like to start a thread to discuss the plan for releasin