dragosvictor commented on code in PR #21668:
URL: https://github.com/apache/pulsar/pull/21668#discussion_r1414734275


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java:
##########
@@ -1473,6 +1486,9 @@ public CompletableFuture<Void> close(
 
         lock.writeLock().lock();
         try {
+            if (!disconnectClients) {
+                transferring = true;

Review Comment:
   I agree, the topics will be forcefully closed as you mentioned, but further 
messages produced will still be ignored instead of responded to with 
`TopicClosedException`.



-- 
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