Re: [DISCUSS] Close the connection quickly after authorization failure

2022-11-28 Thread Zixuan Liu
Close this discussion. Zixuan Liu 于2022年11月28日周一 16:18写道: > > A connection can be used across multiple topics. > > Thank you for your explanation. You are right. > > Thanks, > Zixuan > > PengHui Li 于2022年11月28日周一 11:28写道: > >> > I would like to discuss whether to disconnect the broker and the c

Re: [DISCUSS] Close the connection quickly after authorization failure

2022-11-28 Thread Zixuan Liu
> A connection can be used across multiple topics. Thank you for your explanation. You are right. Thanks, Zixuan PengHui Li 于2022年11月28日周一 11:28写道: > > I would like to discuss whether to disconnect the broker and the client > after authorization failure. > > I don't think we should close the c

Re: [DISCUSS] Close the connection quickly after authorization failure

2022-11-27 Thread PengHui Li
> I would like to discuss whether to disconnect the broker and the client after authorization failure. I don't think we should close the connection for authorization failure. A connection can be used across multiple topics. Irrationality is no accessibility of a topic will disconnect producers and

Re: [DISCUSS] Close the connection quickly after authorization failure

2022-11-24 Thread Zixuan Liu
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 于2022年11月24日周四 16:04写道

Re: [DISCUSS] Close the connection quickly after authorization failure

2022-11-24 Thread Haiting Jiang
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 wrote: > > Hi

[DISCUSS] Close the connection quickly after authorization failure

2022-11-23 Thread Zixuan Liu
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 disc