openfaas / connector-sdk

SDK for connecting events to functions
MIT License
54 stars 25 forks source link

Support for retries #22

Open itsmurugappan opened 5 years ago

itsmurugappan commented 5 years ago

Issue: Incase the openfaas gateway is down or function does not scale in time from 0 to 1. The messages might be lost.

Proposal: While calling the gateway is it a good idea to add retries and on multiple failures add the message back to the queue.

alexellis commented 5 years ago

Hi thanks for the suggestion.

I'm happy to explore this idea. There are a number of ways it can be achieved:

itsmurugappan commented 5 years ago

Thank you Alex.