回复:Re: [DISCUSS] Make the behavior of producers that use the mode WaitForExclusive clear

2022-11-10 Thread Baodi Shi
Hi Yubiao:1. kick out all the connected Shared producers. This same as the mode ExclusiveWithFencing, so the mode WaitForExclusive is no longer needed.I agree this, but that doesn't mean we don't need `WaitForExclusive` . If there was a producer of Exclusive before, WaitForExclusive still has t

Re: [DISCUSS] Make the behavior of producers that use the mode WaitForExclusive clear

2022-11-10 Thread Yubiao Feng
Hi Haiting > I wonder what's the actual use case of mixing Exclusive-Mode and Share-Mode of the same topic? I think there might be a scenario like this: Users used multiple producers in shared mode before, but need to change to exclusive producers later. > From what I see, we should make clear t

Re: [DISCUSS] Make the behavior of producers that use the mode WaitForExclusive clear

2022-11-10 Thread Haiting Jiang
Hi Yubiao I wonder what's the actual use case of mixing Exclusive-Mode and Share-Mode of the same topic? >From what I see, we should make clear the priority of Exclusive-Mode and Share-Mode, and Exclusive > Share makes more sense to me. Currently, depending on the time of which producer registere

Re: [DISCUSS] Make the behavior of producers that use the mode WaitForExclusive clear

2022-11-09 Thread Enrico Olivelli
Yubiao, Il Gio 10 Nov 2022, 07:40 Yubiao Feng ha scritto: > Hi all, > > Now if an Exclusive-Mode producer has been registered, we can register > another WaitForExclusive-Mode producer. When the old producer goes > offline, the new producer will take over as the new exclusive producer. > > < Hig

[DISCUSS] Make the behavior of producers that use the mode WaitForExclusive clear

2022-11-09 Thread Yubiao Feng
Hi all, Now if an Exclusive-Mode producer has been registered, we can register another WaitForExclusive-Mode producer. When the old producer goes offline, the new producer will take over as the new exclusive producer. < Highlight >But if some Shared-Mode producers have been registered, we can re