Hi Haiting, >Just want to make sure if we disconnect the connection, what's the behavior of the client?
The client reconnects with the broker multiple times. When the maximum number of reconnections is reached, the client shutdown completely. Thanks, Zixuan Haiting Jiang <jianghait...@gmail.com> 于2022年11月24日周四 16:04写道: > Hi Zixuan, > > Just want to make sure if we disconnect the connection, what's the > behavior of the client? > will it throw exceptions and fail, or do retries? > Is the client possibly doing too many retries and crashing the server? > > Thanks, > Haiting > > On Thu, Nov 24, 2022 at 3:41 PM Zixuan Liu <node...@gmail.com> wrote: > > > > Hi all, > > > > I would like to discuss whether to disconnect the broker and the client > > after authorization failure. > > > > Right now the Pulsar doesn't disconnect the client on the broker side > after > > authorization failure, then this client can still do other operations. > > > > For an unauthorized user, we should disconnect this connection to avoid > > hogging resources. > > > > Please let me know what you think. > > > > PR: https://github.com/apache/pulsar/pull/18578 > > > > Thanks, > > Zixuan >