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 2019/01/03 02:03:17 UTC
[GitHub] jiazhai opened a new issue #3287:
ConsumerImpl.redeliverUnacknowledgedMessages() get empty messageids
jiazhai opened a new issue #3287: ConsumerImpl.redeliverUnacknowledgedMessages() get empty messageids
URL: https://github.com/apache/pulsar/issues/3287
#### Expected behavior
no panic and error.
#### Actual behavior
meet error info:
```
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:135)
at org.apache.pulsar.client.impl.ConsumerImpl.redeliverUnacknowledgedMessages(ConsumerImpl.java:1246)
at org.apache.pulsar.client.impl.UnAckedMessageTracker$1.run(UnAckedMessageTracker.java:96)
at org.apache.pulsar.shade.io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:663)
at org.apache.pulsar.shade.io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:738)
at org.apache.pulsar.shade.io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:466)
at org.apache.pulsar.shade.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
```
And some times, there is log: `0 messages have timed-out`.
#### Steps to reproduce
How can we reproduce the issue
#### System configuration
**Pulsar version**: 2.2.1
----------------------------------------------------------------
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