-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pub/Sub subscriber flow control stops ack requests #4238
Comments
Also affected by this bug in the latest release google-cloud-pubsub==0.29.1 |
reproducible for me with google-cloud-pubsub==0.29.2 |
@explicitcall I am luckily close to "progress" for fixing how the flow control pauses and resumes the consumer thread. |
@kir-titievsky I'm fairly certain |
OK, see https://github.com/dhermes/google-cloud-pubsub-performance/tree/master/issue-4238, I am 100% sure this issue is fixed. @kir-titievsky I'd still love to chat about other ways I can "kick the tires" to make sure this implementation is hardened. |
Pub/Sub client library stops sending Ack or modifyAckDeadline requests entirely when flow control settings are defined. See code below: when ran as it is against a subscription with a large backlog, it shows that the client thinks it's processing ~700 messages/second, while there is no outgoing traffic from the machine and the monitoring metrics show no ack | modAckDeadline traffic.
If we comment out the flow control argument, the overall processing rate is the same, acks and modifyAckDeadlines are regularly and successfully received by the server.
Expected behavior: flow control settings do not prevent the client library from acknowledging the message.
Mac Os Sierra
python --version
2.7
pip show google-cloud
,pip show google-<service>
orpip freeze
pip show google-cloud-pubsub
Name: google-cloud-pubsub
Version: 0.28.4
Using GitHub flavored markdown can help make your request clearer.
See: https://guides.github.com/features/mastering-markdown/
The text was updated successfully, but these errors were encountered: