Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pekko: update client helper to support flow API #1677

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

brharrington
Copy link
Contributor

Update PekkoHttpClient to support superPool more commonly used with streams. Also hooks in retry logic to make it work with the logger consistently and support throttling. Pekko's internal pool retries only happen if the request fails with an exception. This also provides some more flexiblity with the retry decision so it may be used for requests that are not clearly idempotent based on the HTTP spec, but maybe ok to retry for a given use-case.

Update PekkoHttpClient to support `superPool` more commonly
used with streams. Also hooks in retry logic to make it work
with the logger consistently and support throttling. Pekko's
internal pool retries only happen if the request fails with
an exception. This also provides some more flexiblity with
the retry decision so it may be used for requests that are
not clearly idempotent based on the HTTP spec, but maybe ok
to retry for a given use-case.
@brharrington brharrington merged commit a377688 into Netflix:main Jul 30, 2024
5 checks passed
@brharrington brharrington deleted the http branch July 30, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants