newrelic-telemetry-sdk-java
newrelic-telemetry-sdk-java copied to clipboard
No exception thrown when Refusing to schedule a batch in Limiting Scheduler, only warning is logged, causing data loss.
I am wring a code where I am sending data to new relic endpoint using TelemetryClient. But in case where batch to be scheduled cannot be allocated, the scheduler just logs the warning and proceeds. Ideal case would be to throw exception in these scenarios, so that client can handle it properly.
WARN Refusing to schedule batch of size 500 (would put us over max size 1000000, available = 96) (com.newrelic.telemetry.LimitingScheduler:37) WARN DATA IS BEING LOST! (com.newrelic.telemetry.LimitingScheduler:45)
(Migrate to Jira)