withRetryPolicyClass

fun withRetryPolicyClass(retryPolicyClass: Class<out RetryPolicy>): CoreConfigurationBuilder

Implement a custom {@link RetryPolicy} to decide if a failed report should be resent or not.

Since

4.9.1

Return

this instance

Parameters

retryPolicyClass

a class that decides if a report should be resent (usually if one or more senders failed).