shibd opened a new issue #13488:
URL: https://github.com/apache/pulsar/issues/13488


   ## 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.
   
   
https://github.com/apache/pulsar/blob/9f599c9572e5d9b1f15efa6e895e7eb29b284e57/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConnectionHandler.java#L130-L133
   
   ## Goal
   
   Add new commands `STOP_PRODUCER/STOP_CONSUMER`, When the client receives the 
command, it only closes without reconnecting.
   
   ## API Changes
   
   1. Add command to `BaseCommand`
   ```java
   message BaseCommand {
       enum Type {
       // ...
       STOP_PRODUCER = 64;
       STOP_CONSUMER = 65
       }
   }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to