phanxipang / fansipan

A simple package that allows you to write your API integrations or SDKs in a elegant way.
https://phanxipang.github.io/fansipan
MIT License
81 stars 2 forks source link

Feature Request: Support to define a rate limiting and retry logic #26

Open Braunson opened 7 months ago

Braunson commented 7 months ago

Detailed description

This is a feature request. Many external APIs have shallow rate limits. This means if you have an influx of calls to this API it's very likely you'll hit the limit and the call will fail. It would be great to be able to support defining a rate limiting strategy for a connector and provide the ability to retry after so long.

Context

Why is this change important to you? How would you use it?

How can it benefit other users?

Possible implementation

N/A

jenky commented 7 months ago

I believe this could be implemented as a plugin. Will add this to todo list. No ETA tho.