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



##########
File path: 
pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/CmdConsume.java
##########
@@ -414,8 +425,9 @@ private int consumeFromWebSocket(String topic) {
                     LOG.debug("No message to consume after waiting for 5 
seconds.");
                 } else {
                     try {
-                        System.out.println(Base64.getDecoder().decode(msg));
-                    }catch(Exception e) {
+                        String output = interpretByteArray(displayHex, 
Base64.getDecoder().decode(msg));

Review comment:
       this is the core of the change.
   it is hidden inside the code reformat.
   
   can you please revert the code reformat ?




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