eolivelli commented on a change in pull request #13525:
URL: https://github.com/apache/pulsar/pull/13525#discussion_r779476423



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java
##########
@@ -1371,6 +1373,12 @@ public void closeFailed(ManagedLedgerException 
exception, Object ctx) {
         if (!name.isGlobal()) {
             return CompletableFuture.completedFuture(null);
         }
+        NamespaceName heartbeatNamespace = 
NamespaceService.getHeartbeatNamespaceV2(

Review comment:
        we  move this into the PulsarService as a field, this way  we don't 
have to create this every time 




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