refactor: consolidate error handling and retry configuration
Centralize the error channel size, retry policy and max-failed batches/partition limits in the job config.
This commit is contained in:
@@ -88,7 +88,7 @@ func LoaderErrorHandler(
|
||||
}
|
||||
|
||||
err.Batch.RetryCounter++
|
||||
delay := computeBackoffDelay(
|
||||
delay := ComputeBackoffDelay(
|
||||
err.Batch.RetryCounter,
|
||||
retryConfig.BaseDelayMs,
|
||||
retryConfig.MaxDelayMs,
|
||||
|
||||
Reference in New Issue
Block a user