Skip to content

Commit

Permalink
[FLINK-33236][config] Deprecate the unused high-availability.zookeepe…
Browse files Browse the repository at this point in the history
…r.path.running-registry option (#23506)
  • Loading branch information
X-czh authored Oct 16, 2023
1 parent aaaa07a commit 935188f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,5 @@
<td>String</td>
<td>ZooKeeper root path (ZNode) for job graphs</td>
</tr>
<tr>
<td><h5>high-availability.zookeeper.path.running-registry</h5></td>
<td style="word-wrap: break-word;">"/running_job_registry/"</td>
<td>String</td>
<td></td>
</tr>
</tbody>
</table>
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,6 @@
<td>String</td>
<td>The root path under which Flink stores its entries in ZooKeeper.</td>
</tr>
<tr>
<td><h5>high-availability.zookeeper.path.running-registry</h5></td>
<td style="word-wrap: break-word;">"/running_job_registry/"</td>
<td>String</td>
<td></td>
</tr>
<tr>
<td><h5>high-availability.zookeeper.quorum</h5></td>
<td style="word-wrap: break-word;">(none)</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,16 @@ public class HighAvailabilityOptions {
.withDescription(
"Defines the number of connection retries before the client gives up.");

/** @deprecated Don't use this option anymore. It has no effect on Flink. */
@Deprecated
@Documentation.Section(Documentation.Sections.EXPERT_ZOOKEEPER_HIGH_AVAILABILITY)
public static final ConfigOption<String> ZOOKEEPER_RUNNING_JOB_REGISTRY_PATH =
key("high-availability.zookeeper.path.running-registry")
.stringType()
.defaultValue("/running_job_registry/");
.defaultValue("/running_job_registry/")
.withDescription(
"Don't use this option anymore. It has no effect on Flink. The RunningJobRegistry has been "
+ "replaced by the JobResultStore in Flink 1.15.");

@Documentation.Section(Documentation.Sections.EXPERT_ZOOKEEPER_HIGH_AVAILABILITY)
public static final ConfigOption<String> ZOOKEEPER_CLIENT_ACL =
Expand Down

0 comments on commit 935188f

Please sign in to comment.