Skip to content

SDKs to support retry and reconnection to sidecar #6609

@artursouza

Description

@artursouza

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

Describe the feature

  1. SDKs should automatically reestablish connection to sidecar endpoint after sidecar restarts (if connection is sticky).
  2. SDKs should automatically retry network-based exceptions up to N times. Configuration should be via environment variable: DAPR_NETWORK_MAX_RETRIES with default value of 3 (zero means disabled).
  3. Each SDK may expose a parameter (equivalent to DAPR_NETWORK_MAX_RETRIES) to allow programmatically overwriting of the config when instantiating a client object.

Proposal to follow after discussion here. In scope for 1.12

Release Note

RELEASE NOTE:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions