pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] hrsakai closed pull request #875: Fix ConsumerHandler in WebSocket Proxy
Date Thu, 01 Jan 1970 00:00:00 GMT
hrsakai closed pull request #875: Fix ConsumerHandler in WebSocket Proxy
URL: https://github.com/apache/incubator-pulsar/pull/875
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java
b/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java
index dffed678c..f024e2fb5 100644
--- a/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java
+++ b/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java
@@ -112,7 +112,7 @@ public ConsumerHandler(WebSocketService service, HttpServletRequest request,
Ser
 
     private void receiveMessage() {
         if (log.isDebugEnabled()) {
-            log.debug("[{}] [{}] [{}] Receive next message", getSession().getRemoteAddress(),
topic, subscription);
+            log.debug("[{}:{}] [{}] [{}] Receive next message", request.getRemoteAddr(),
request.getRemotePort(), topic, subscription);
         }
 
         consumer.receiveAsync().thenAccept(msg -> {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message