[DISUSS] Improve unit test stability

2022-03-06 Thread
Hi, I want to discuss how to improve the stability of unit testing.I found that most flaky unit tests can be reproduc locally and only need to be executed a few more times. Can we add the following mandatory constraints to ensure the stability of unit testing of code? 1. If new / modified unit

Re: [DISCUSSION] PIP-128: Add new command STOP_PRODUCER and STOP_CONSUMER

2021-12-29 Thread
dle this case well. > > Or, if the topic will retire, and you don't want the clients to connect to > it, you can just terminate the topic. > > Thanks > Penghui > > On Wed, Dec 29, 2021 at 10:39 AM 包子 > wrote: > >> Issue: https://github.com/apache/pulsar/issues/13488 >

Re: [DISCUSSION] PIP-128: Add new command STOP_PRODUCER and STOP_CONSUMER

2021-12-28 Thread
Issue: https://github.com/apache/pulsar/issues/13488 > 2021年12月29日 10:3812,包子 写道: > > ## Motivation > > Broker send `CLOSE_PRODUCER/CLOSE_CONSUMER` to client when delete topic, But > client will be reconnect. If config `allowAutoTopicCreation=true` will > trigg

[DISCUSSION] PIP-128: Add new command STOP_PRODUCER and STOP_CONSUMER

2021-12-28 Thread
## Motivation Broker send `CLOSE_PRODUCER/CLOSE_CONSUMER` to client when delete topic, But client will be reconnect. If config `allowAutoTopicCreation=true` will trigger create topic again.