lhotari commented on code in PR #25064:
URL: https://github.com/apache/pulsar/pull/25064#discussion_r2657724888


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentTopic.java:
##########
@@ -1089,6 +1089,9 @@ && isCompactionSubscription(subscriptionName)) {
                     close();
                 } else if (ex.getCause() instanceof 
BrokerServiceException.ConnectionClosedException) {
                     log.warn("[{}][{}] Connection was closed while the opening 
the cursor", topic, subscriptionName);
+                } else if (ex.getCause() instanceof 
BrokerServiceException.NotAllowedException) {
+                    log.warn("[{}][{}] Not allowed create subscription {}", 
topic, subscriptionName,

Review Comment:
   ```suggestion
                       log.warn("[{}][{}] Not allowed to create subscription: 
{}", topic, subscriptionName,
   ```



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