Skip to content

[Proposal] Migrate waitForSidecar to v1.0/healthz/outbound to provide parity with dotnet SDK #897

@olitomlinson

Description

@olitomlinson

Describe the proposal

In my opinion, the dotnet SDK provides a more explicit implementation that is better isolated from accidental change.

For example, if the ordering of a dapr runtime init ever changed (accidentally or deliberately), and the dapr http port was open before all components were initialised, then this would cause a break in behaviour.

Therefore, for this reason, I propose that the Java SDK (and other SDKs) should follow the same behaviour as the dotnet SDK and wait for a successful response from v1.0/healthz/outbound rather than just waiting for the dapr http port to be open.


This is my understanding of the relationship between Dapr and the App during init

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions