This is an automated email from the ASF dual-hosted git repository.

houxiaoyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 9feb85b19ca [fix][client] Fix topic list watcher fail log (#19733)
9feb85b19ca is described below

commit 9feb85b19ca160b4be3acbfe15f39edde07608f5
Author: houxiaoyu <[email protected]>
AuthorDate: Fri Mar 10 16:21:25 2023 +0800

    [fix][client] Fix topic list watcher fail log (#19733)
---
 .../src/main/java/org/apache/pulsar/client/impl/TopicListWatcher.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/TopicListWatcher.java
 
b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/TopicListWatcher.java
index 88ada6a344b..384d1b688b8 100644
--- 
a/pulsar-client/src/main/java/org/apache/pulsar/client/impl/TopicListWatcher.java
+++ 
b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/TopicListWatcher.java
@@ -148,8 +148,8 @@ public class TopicListWatcher extends HandlerState 
implements ConnectionHandler.
                             cnx.channel().close();
                             return null;
                         }
-                        log.warn("[{}][{}] Failed to subscribe to topic on 
{}", topic,
-                                getHandlerName(), 
cnx.channel().remoteAddress());
+                        log.warn("[{}][{}] Failed to create topic list watcher 
on {}",
+                                topic, getHandlerName(), 
cnx.channel().remoteAddress());
 
                         if (e.getCause() instanceof PulsarClientException
                                 && 
PulsarClientException.isRetriableError(e.getCause())

Reply via email to