Rui Fan created FLINK-34176:
-------------------------------
Summary: Remove unnecessary implemetations of
RestartBackoffTimeStrategy
Key: FLINK-34176
URL: https://issues.apache.org/jira/browse/FLINK-34176
Project: Flink
Issue Type: Improvement
Components: Runtime / Coordination
Reporter: Rui Fan
Assignee: Rui Fan
h2. Could we deprecate the failure-rate and fixed-delay restart-strategies
directly?
After FLINK-33735 (FLIP-364), the exponential-delay restart strategy is already
very feature-rich. It can replace fix-delay and failure rate restart strategies
directly.
h2. How to replace FixedDelayRestartBackoffTimeStrategy?
* Set backoffMultiplier = 1 and jitterFactor = 0
* resetBackoffThresholdMS = Interget.Max
* initialBackoffMS and maxBackoffMS are the backoffTimeMS of
FixedDelayRestartBackoffTimeStrategy
* attemptsBeforeResetBackoff is the maxNumberRestartAttempts of
FixedDelayRestartBackoffTimeStrategy
h2. How to replace FailureRateRestartBackoffTimeStrategy?
* Set backoffMultiplier = 1 and jitterFactor = 0
* resetBackoffThresholdMS is the failuresIntervalMS of
FailureRateRestartBackoffTimeStrategy
* initialBackoffMS and maxBackoffMS are the backoffTimeMS of
FailureRateRestartBackoffTimeStrategy
* attemptsBeforeResetBackoff is the maxFailuresPerInterval of
FailureRateRestartBackoffTimeStrategy
--
This message was sent by Atlassian Jira
(v8.20.10#820010)