Open sivankumar86 opened 1 year ago
There isn't currently a way to do this in the API enrichment. That said the underlying library we use (http4s) has a middleware that allows for retries so we'd definitely welcome a contribution if you are interested.
Usecase: we are using internal API to enrich the event however, sometime, internal apps return 5xxx due to network issue and I could not find retry feature in config.
https://github.com/snowplow/enrich/blob/master/config/enrichments/api_request_enrichment_config.json
How to set number of retry if api is not returning 200 ?