Skip to content
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

Retry cloud function specific times using google-pubsub and send last retry error message to deadletter topic #2

Open
mrdulin opened this issue Oct 10, 2018 · 0 comments

Comments

@mrdulin
Copy link
Owner

mrdulin commented Oct 10, 2018

需求:当cloud function调用第三方api出现异常时,使用google-pubsub重新尝试调用该cloud function,尝试调用指定的次数,并将每一次出现的异常error及相关数据发送到google-pubsubdeadletter topic

Here is version 1 logs:

image

Here is version 2 logs:

image

参考:

https://medium.com/google-cloud/dead-letter-queues-simple-implementation-strategy-for-cloud-pub-sub-80adf4a4a800

@mrdulin mrdulin changed the title Retry cloud function specific times using google-pubsub Retry cloud function specific times using google-pubsub and send last retry error message to deadletter Oct 10, 2018
@mrdulin mrdulin changed the title Retry cloud function specific times using google-pubsub and send last retry error message to deadletter Retry cloud function specific times using google-pubsub and send last retry error message to deadletter topic Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant