When topic is deleted forced, under normal circumstances, we should force the producer to be deleted. What the client feels is that the producer has been closed, instead of triggering the logic of reconnection.
Actual behavior
When topic is deleted forced, the request triggers the logic of reconnection.
Steps to reproduce
Start standalone (e.g: 2.8.0) and set allowAutoTopicCreation=false in standalone.conf
Original Issue: apache/pulsar-client-go#623
Expected behavior
When topic is deleted forced, under normal circumstances, we should force the producer to be deleted. What the client feels is that the producer has been closed, instead of triggering the logic of reconnection.
Actual behavior
When topic is deleted forced, the request triggers the logic of reconnection.
Steps to reproduce
allowAutoTopicCreation=false
instandalone.conf
topic-1
The same code logic, we can see the following error message in java, this is the behavior we expect:
System configuration
Pulsar version: x.y