snowplow-incubator / common-streams

Other
1 stars 0 forks source link

Enable a Defaults mode on AWS clients #15

Closed istreeter closed 1 year ago

istreeter commented 1 year ago

The defaults mode is described in this AWS blog post.

By enabling a default mode, the client adapts to pick an appropriate retry policy and network settings.

Without this setting, the SDK does not do any retries. In the past we have implemented our own retry logic. But I prefer this way because I trust the sdk to know which error categories should be retried. And it makes the aws clients consistent with our gcp/kafka clients, which also do retries under-the-hood.