Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/5808#discussion_r179045058
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/TaskManagerOptions.java
---
@@ -104,40 +104,40 @@
" global ssl flag " +
SecurityOptions.SSL_ENABLED.key() + " is set to true");
/**
- * The initial registration pause between two consecutive registration
attempts. The pause
- * is doubled for each new registration attempt until it reaches the
maximum registration pause.
+ * The initial registration backoff between two consecutive
registration attempts. The backoff
+ * is doubled for each new registration attempt until it reaches the
maximum registration backoff.
*/
- public static final ConfigOption<String> INITIAL_REGISTRATION_PAUSE =
- key("taskmanager.initial-registration-pause")
+ public static final ConfigOption<String> INITIAL_REGISTRATION_BACKOFF =
+ key("taskmanager.registration.initial-backoff")
.defaultValue("500 ms")
- .withDescription("The initial registration pause
between two consecutive registration attempts. The pause" +
- " is doubled for each new registration attempt
until it reaches the maximum registration pause.");
+ .withDescription("The initial registration backoff
between two consecutive registration attempts. The backoff" +
+ " is doubled for each new registration attempt
until it reaches the maximum registration backoff.");
/**
- * The maximum registration pause between two consecutive registration
attempts.
+ * The maximum registration backoff between two consecutive
registration attempts.
*/
- public static final ConfigOption<String> MAX_REGISTRATION_PAUSE =
- key("taskmanager.max-registration-pause")
+ public static final ConfigOption<String> REGISTRATION_MAX_BACKOFF =
+ key("taskmanager.registration.max-backoff")
.defaultValue("30 s")
- .withDescription("The maximum registration pause
between two consecutive registration attempts. The max" +
- " registration pause requires a time unit
specifier (ms/s/min/h/d).");
+ .withDescription("The maximum registration backoff
between two consecutive registration attempts. The max" +
+ " registration backoff requires a time unit
specifier (ms/s/min/h/d).");
/**
- * The pause after a registration has been refused by the job manager
before retrying to connect.
+ * The backoff after a registration has been refused by the job manager
before retrying to connect.
*/
- public static final ConfigOption<String> REFUSED_REGISTRATION_PAUSE =
- key("taskmanager.refused-registration-pause")
+ public static final ConfigOption<String> REFUSED_REGISTRATION_BACKOFF =
+ key("taskmanager.registration.refused-backoff")
.defaultValue("10 s")
- .withDescription("The pause after a registration has
been refused by the job manager before retrying to connect.");
+ .withDescription("The backoff after a registration has
been refused by the job manager before retrying to connect.");
/**
- * Defines the maximum time it can take for the TaskManager
registration. If the duration is
+ * Defines the timeout it can take for the TaskManager registration. If
the duration is
* exceeded without a successful registration, then the TaskManager
terminates.
*/
- public static final ConfigOption<String> MAX_REGISTRATION_DURATION =
- key("taskmanager.maxRegistrationDuration")
+ public static final ConfigOption<String> REGISTRATION_TIMEOUT =
+ key("taskmanager.registration.timeout")
--- End diff --
missing deprecated key `"taskmanager.maxRegistrationDuration"`
---