Azure / Azure/azure-sdk-for-java

clientcore: refactor SSE retries

Open
#44,934 0 comments 0 reactions 0 assignees View on GitHub
Azure.Core.V2 clientcore
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

SSE retries should have:
- retry policy config - probably the same as generic HTTP one
- instrumentation - logging/tracing/metrics same as generic HTTP
- HTTP-client agnostic implementation
- stress tests to validate

We need to find a way to extend retry policy to support retrying long-running HTTP streams (or find other solution for SSE config/observability).

It involves some way for retry policy to know how to modify request to retry from the new position and a way to obtain retry-after from HTTP response or SSE message.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.