This is an automated email from the ASF dual-hosted git repository. fanrui pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push: new ffaa3dd8 [FLINK-35357][docs] Add kubernetes.operator.plugins.listeners config (#845) ffaa3dd8 is described below commit ffaa3dd8d4f03d98c01d938c730fab8a21f340c0 Author: 阿洋 <xinzhuxiansh...@126.com> AuthorDate: Thu Jul 4 14:14:49 2024 +0800 [FLINK-35357][docs] Add kubernetes.operator.plugins.listeners config (#845) --- docs/layouts/shortcodes/generated/dynamic_section.html | 6 ++++++ .../generated/kubernetes_operator_config_configuration.html | 6 ++++++ .../operator/config/KubernetesOperatorConfigOptions.java | 9 +++++++++ 3 files changed, 21 insertions(+) diff --git a/docs/layouts/shortcodes/generated/dynamic_section.html b/docs/layouts/shortcodes/generated/dynamic_section.html index a51a6e75..9c1083fc 100644 --- a/docs/layouts/shortcodes/generated/dynamic_section.html +++ b/docs/layouts/shortcodes/generated/dynamic_section.html @@ -140,6 +140,12 @@ <td>String</td> <td>Option to enable automatic savepoint triggering. Can be specified either as a Duration type (i.e. '10m') or as a cron expression in Quartz format (6 or 7 positions, see http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html).The triggering schedule is not guaranteed, savepoints will be triggered as part of the regular reconcile loop. WARNING: not intended to be used together with the cron-based periodic savepoint triggering</td> </tr> + <tr> + <td><h5>kubernetes.operator.plugins.listeners.<listener-name>.class</h5></td> + <td style="word-wrap: break-word;">(none)</td> + <td>String</td> + <td>Custom plugins listener class, 'listener-name' is the name of the plugin listener, and its value is a fully qualified class name.</td> + </tr> <tr> <td><h5>kubernetes.operator.pod-template.merge-arrays-by-name</h5></td> <td style="word-wrap: break-word;">false</td> diff --git a/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html b/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html index 918b4074..172029c8 100644 --- a/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html +++ b/docs/layouts/shortcodes/generated/kubernetes_operator_config_configuration.html @@ -278,6 +278,12 @@ <td>String</td> <td>Option to enable automatic savepoint triggering. Can be specified either as a Duration type (i.e. '10m') or as a cron expression in Quartz format (6 or 7 positions, see http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html).The triggering schedule is not guaranteed, savepoints will be triggered as part of the regular reconcile loop. WARNING: not intended to be used together with the cron-based periodic savepoint triggering</td> </tr> + <tr> + <td><h5>kubernetes.operator.plugins.listeners.<listener-name>.class</h5></td> + <td style="word-wrap: break-word;">(none)</td> + <td>String</td> + <td>Custom plugins listener class, 'listener-name' is the name of the plugin listener, and its value is a fully qualified class name.</td> + </tr> <tr> <td><h5>kubernetes.operator.pod-template.merge-arrays-by-name</h5></td> <td style="word-wrap: break-word;">false</td> diff --git a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java index 1334ba4f..b065d228 100644 --- a/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java +++ b/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/config/KubernetesOperatorConfigOptions.java @@ -333,6 +333,15 @@ public class KubernetesOperatorConfigOptions { + "WARNING: not intended to be used together with the cron-based " + "periodic checkpoint triggering"); + @SuppressWarnings("unused") + @Documentation.Section(SECTION_DYNAMIC) + public static final ConfigOption<String> PLUGINS_LISTENERS_CLASS = + operatorConfig("plugins.listeners.<listener-name>.class") + .stringType() + .noDefaultValue() + .withDescription( + "Custom plugins listener class, 'listener-name' is the name of the plugin listener, and its value is a fully qualified class name."); + @Documentation.Section(SECTION_SYSTEM) public static final ConfigOption<String> OPERATOR_WATCHED_NAMESPACES = operatorConfig("watched.namespaces")