Closed rozhkova-syberry closed 1 year ago
I'm experiencing exactly the same issue as this using 1.123.12 of the client lib and subscribing to an exactly once delivery subscription.
Might be fixed with https://github.com/googleapis/java-pubsub/pull/1540
Just merged this PR #1540 , please reopen this issue if the problem you are having still reoccurs.
I've seen this issue as well when looking into another issue #1778, so it still seems to be there. It happens separately from the concurrent modification issues.
@Sourc What is the version of Spring and the client library you are using?
@kamalaboulhosn No Spring, same setup as described in #1778. But I actually believe my warnings are caused by the soft-crashing of the subscribers, so it's most likely different from what's been the cause here. No need to re-open this issue just yet.
Environment details
Steps to reproduce
Code
PubSubConfiguration class
application.yaml
Actual behavior Periodically I see in the logs warning
After investigation I found that this exception appears after modifyAckDeadline call during acknowledgement pubsub message.
Expected behavior No warnings in the logs.
Additional information Pubsub messages are processed successfully without redeliveries but with this warning in the logs. I updated google-cloud-pubsub library to 1.120.12 and tested it, but I still saw this warning in the logs. If Exactly once delivery is disabled on subscription than there are no warnings in the logs. Why this warning is displayed and and what issues it can potentially cause?