Sets request HTTP status codes to not retry by default: 400, 401, 403, 410, and 422.
Codes can be configured for retry or no retry (including overriding the defaults) using the new BatchEmitter builder option customRetryForStatusCodes(). This replaces fatalResponseCodes(). Note that 2xx status codes will always be deemed successful, and will never be retried.
For issue #337.
Sets request HTTP status codes to not retry by default: 400, 401, 403, 410, and 422.
Codes can be configured for retry or no retry (including overriding the defaults) using the new
BatchEmitter
builder optioncustomRetryForStatusCodes()
. This replacesfatalResponseCodes()
. Note that 2xx status codes will always be deemed successful, and will never be retried.