Skip to content

How to remove/configure resilience in Destination Service #1071

@lixingwang

Description

@lixingwang

Ask the Question

Hi Team,

We’re building an SAP-managed solution that relies heavily on Destinations for cross‑application communication.
For several reasons, we’d like to ignore Destination 404 errors and proceed with an alternative flow. However, we’re currently hitting a circuit breaker OPEN issue:

com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationNotFoundException: 
com.sap.cloud.sdk.cloudplatform.resilience.ResilienceRuntimeException: 
CircuitBreaker 'class com.sap.cloud.sdk.cloudplatform.connectivity.DestinationServiceSingleDestResilience' 
is OPEN and does not permit further calls. Triggered by

Since Cloud SDK uses resilience4j, I’m looking for the following options—please let me know if either is supported:

  1. Expose resilience configuration so we can treat DestinationNotFoundException as ignored/not counted failures (i.e., do not trigger the circuit breaker).
  2. Disable resilience per Destination instance (opt out the circuit breaker for specific Destinations).

If neither is possible, we intend to build a custom client that calls the Destination REST API directly to check for existence before proceeding(We lost the cloud SDK existing caching etc features)

Please advise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions