flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

Feature Request: give up on callback after X tries/Y time passed #986

Closed chriskessel closed 6 years ago

chriskessel commented 6 years ago

Dev Services, for reworking the eventing queue management, would like a callback configure where the hub would give up on a callback if it fails more than X times. A similar variant, give up if a callback is older than Y amount of time.

The concrete uses cases are:

moulliet commented 6 years ago

Failing after X attempts is a new feature.

Webhooks currently support ttlMinutes : "ttlMinutes is optional and defaults to 0. If ttlMinutes is greater than 0, the hub will not attempt to send an item which is older than the ttl." https://flightstats.github.io/hub/hub_notifications_webhooks.html