Code for backward compatibility check
This commit is contained in:
parent
af99b4d743
commit
443b41690b
1 changed files with 3 additions and 3 deletions
|
|
@ -71,21 +71,21 @@ import static java.util.Objects.nonNull;
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@KinesisClientInternalApi
|
@KinesisClientInternalApi
|
||||||
public class LeaseAssignmentManager {
|
public final class LeaseAssignmentManager {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default number of continuous failure execution after which leadership is released.
|
* Default number of continuous failure execution after which leadership is released.
|
||||||
*/
|
*/
|
||||||
private static final int DEFAULT_FAILURE_COUNT_TO_SWITCH_LEADER = 3;
|
private static final int DEFAULT_FAILURE_COUNT_TO_SWITCH_LEADER = 3;
|
||||||
|
|
||||||
private static final String FORCE_LEADER_RELEASE_METRIC_NAME = "ForceLeaderRelease";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default multiplier for LAM frequency with respect to leaseDurationMillis (lease failover millis).
|
* Default multiplier for LAM frequency with respect to leaseDurationMillis (lease failover millis).
|
||||||
* If leaseDurationMillis is 10000 millis, default LAM frequency is 20000 millis.
|
* If leaseDurationMillis is 10000 millis, default LAM frequency is 20000 millis.
|
||||||
*/
|
*/
|
||||||
private static final int DEFAULT_LEASE_ASSIGNMENT_MANAGER_FREQ_MULTIPLIER = 2;
|
private static final int DEFAULT_LEASE_ASSIGNMENT_MANAGER_FREQ_MULTIPLIER = 2;
|
||||||
|
|
||||||
|
private static final String FORCE_LEADER_RELEASE_METRIC_NAME = "ForceLeaderRelease";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default retry attempt for loading leases and workers before giving up.
|
* Default retry attempt for loading leases and workers before giving up.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue