You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: If the batch size = 1, this ends in an infinite loop.
Request should only be retried if batch can be split, so batch size > 1. Otherwise the payload is too big and there is no need for retrying.
The text was updated successfully, but these errors were encountered:
According to new relic docs, a 413 http status code is send when
The payload was too big. Payloads must be under 1MB (10^6 bytes).
Currently, BatchDataSender throws a RetryWithSplitException in case of this status code
newrelic-telemetry-sdk-java/telemetry-core/src/main/java/com/newrelic/telemetry/transport/BatchDataSender.java
Lines 179 to 185 in c72d6eb
And the TelemtryClient reacts by retrying the request with a split batch
newrelic-telemetry-sdk-java/telemetry-core/src/main/java/com/newrelic/telemetry/TelemetryClient.java
Lines 218 to 220 in c72d6eb
Problem: If the batch size = 1, this ends in an infinite loop.
Request should only be retried if batch can be split, so batch size > 1. Otherwise the payload is too big and there is no need for retrying.
The text was updated successfully, but these errors were encountered: