codelipenghui opened a new pull request #11342:
URL: https://github.com/apache/pulsar/pull/11342
### Motivation
Currently, when a cluster has been deleted, the replicator and the
replication client will not be closed.
The producer of the replicator will try to reconnect to the deleted cluster
continuously.
We should close and clean up the replicator and the replication client for
the deleted cluster.
### Verifying this change
A new test was added for verifying the replicator and the replication client
will be closed after the cluster is deleted.
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
This is a bug fix, no need documentation.
--
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]