Closed Kripu77 closed 2 days ago
Hello everyone,
For those who will follow this issue,
We also use @google-cloud/secret-manager in our services, the version we had before any update:"^4.1.1".
Updating @google-cloud/secret-manager to the latest version available as of today, "^5.3.0", successfully resolved the problem.
This upgrade automatically updated the grpc.js version, which I believe to be the root cause and solution to this issue. Alternatively, it might involve adjustments to other internal dependencies utilized by secret-manager and nodejs-pubsub under the hood.
Thanks for the issue update. The holding more messages as the streams fail is more or less expected, at least until their maximum timeout. The timeout itself sounds transport-related, so a grpc-js update would help there.
Hi all,
We're encountering below error:
Initially, the service successfully publishes messages to a topic without encountering any errors. However, after the application has been running for a while, typically around 1-2 hours, errors begin to manifest. It appears that the pub/sub client retains all the messages in memory after the error occurs, leading to a gradual increase in container memory usage.
Environment details
@google-cloud/pubsub
version: 4.3.3Steps to reproduce
Publisher snippet:
Subscirber snippet: