merlimat closed pull request #2012: Downgrade pulsar-client CLI consume warning 
message (#1485)
URL: https://github.com/apache/incubator-pulsar/pull/2012
 
 
   

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-client-tools/src/main/java/org/apache/pulsar/client/cli/CmdConsume.java
 
b/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/CmdConsume.java
index caa2a12e77..f19e6a5008 100644
--- 
a/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/CmdConsume.java
+++ 
b/pulsar-client-tools/src/main/java/org/apache/pulsar/client/cli/CmdConsume.java
@@ -132,7 +132,7 @@ public int run() throws PulsarClientException, IOException {
 
                 Message<byte[]> msg = consumer.receive(5, TimeUnit.SECONDS);
                 if (msg == null) {
-                    LOG.warn("No message to consume after waiting for 20 
seconds.");
+                    LOG.debug("No message to consume after waiting for 5 
seconds.");
                 } else {
                     numMessagesConsumed += 1;
                     System.out.println(MESSAGE_BOUNDARY);


 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to