question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add Resilience configuration options

See original GitHub issue

Is your feature request related to a problem? Please describe.

When dealing with Destination services, it is quite often necessary to re-send an API call against a given endpoint. In our case, we (i.e. SAP Graph Team) have the need of sending “hundreds” - and potentially “thousands” - of requests against Destination service. To reach such behaviour, today a developer needs to implement it by his/her-self with an additional layer of custom code (and it should not be build on every SDK-based project again and again…).

Describe the solution you’d like

As already in place in Java version of Cloud SDK (see ResilienceConfiguration.RetryConfiguration), it would be great to add ResilienceConfigurationOptions - in particular, the retry config - also to JS/TS version of CloudSDK, enabling (at least) the followings:

  • option-set from Java version;
  • non linear delay in the resilience;
  • option for switching on in getDestination, executeHttp, execute and fetchDestination;
  • possibility to add an interceptor’s callback method.

Impact / Priority

Affected development phase: Product Release

Impact: Impaired and feature fix Blocked

Timeline: Upcoming Product release.

Additional context Already had a short discussion with @FrankEssenberger.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
FrankEssenbergercommented, Apr 21, 2022

No I wanted to ping @johenning from the sap graph team. Sorry.

1reaction
FrankEssenbergercommented, Nov 30, 2021

This could be a quick win to include it: https://www.npmjs.com/package/axios-retry

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application Service Resilience Configuration
When an application service connects to another application service in the domain, the service that initiates the connection is a client of the...
Read more >
Configuration settings - IBM
The [resilient] section of the app.config file contains the settings that the app uses when interacting with the SOAR platform. The following table...
Read more >
Getting Started - resilience4j
Configuration. You can configure your CircuitBreaker, Retry, RateLimiter, Bulkhead, Thread pool bulkhead and TimeLimiter instances in Spring Boot's application.
Read more >
Maximum resiliency - AWS Direct Connect
Under Resiliency level, choose Maximum Resiliency, and then choose Next. On the Configure connections pane, under Connection settings, do the following:.
Read more >
Veritas NetBackup™ AdvancedDisk Storage Solutions Guide
Specifying resilient connections · Click Add. · Enter a client host name, an IP address, or an address range. · Ensure that the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found