Skip to content

Resend middleware to retry also for some HTTP error codes#287

Open
simonhege wants to merge 1 commit intosplunk:mainfrom
simonhege:main
Open

Resend middleware to retry also for some HTTP error codes#287
simonhege wants to merge 1 commit intosplunk:mainfrom
simonhege:main

Conversation

@simonhege
Copy link

Some HTTP errors are worth to retry, especially when indexer is behind a proxy/load-balancer.

This PR applies the same strategy for retries in the Java client compared to the dotnet one:
https://github.com/splunk/splunk-library-dotnetlogging/blob/master/src/Splunk.Logging.Common/HttpEventCollectorResendMiddleware.cs

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