You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/04/02 14:22:40 UTC

[GitHub] pouledodue opened a new issue #1485: Too frequent WARN or wrong number of seconds

pouledodue opened a new issue #1485: Too frequent WARN or wrong number of seconds 
URL: https://github.com/apache/incubator-pulsar/issues/1485
 
 
   #### Expected behavior
   
   Tell us what should happen
   
   ```
   10:16:25.438 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 5 seconds.
   10:16:30.439 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 5 seconds.
   10:16:35.440 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 5 seconds.
   10:16:40.441 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 5 seconds.
   10:16:45.446 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 5 seconds.
   ```
   #### Actual behavior
   
   outputs WARN with wrong number of seconds
   
   ```
   10:16:25.438 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 20 seconds.
   10:16:30.439 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 20 seconds.
   10:16:35.440 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 20 seconds.
   10:16:40.441 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 20 seconds.
   10:16:45.446 [main] WARN  org.apache.pulsar.client.cli.PulsarClientTool - No message to consume after waiting for 20 seconds.
   ```
   #### Steps to reproduce
   
   ```
   pulsar-client consume persistent://sample/standalone/ns1/backwards \
     --subscription-name my-subscription \
     --num-messages 0
   ```
   
   #### System configuration
   **Pulsar version**: 2.0.0
   mac 
   

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