Broken flow control in rare cases #80
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: question
Request for information or clarification. Not an issue.
In production I have a memory consuming task. So if I get two messages at a time my app runs out of memory. I found out that flow control settings do not always works.
Environment details
I created a repository with code to reproduce this issue.
Steps to reproduce
npm install
GOOGLE_PROJECT=your-project-id GOOGLE_APPLICATION_CREDENTIALS=path-to-credentials npm run flow-control
In source code I created topic, subscription and track for messages that are currently in process. Am I doing something wrong?
Thanks!
The text was updated successfully, but these errors were encountered: