Class WebOptions


  • @PublicEvolving
    public class WebOptions
    extends Object
    Configuration options for the WebMonitorEndpoint.
    • Field Detail

      • ACCESS_CONTROL_ALLOW_ORIGIN

        public static final ConfigOption<String> ACCESS_CONTROL_ALLOW_ORIGIN
        The config parameter defining the Access-Control-Allow-Origin header for all responses from the web-frontend.
      • REFRESH_INTERVAL

        public static final ConfigOption<Duration> REFRESH_INTERVAL
        The config parameter defining the refresh interval for the web-frontend in milliseconds.
      • TMP_DIR

        public static final ConfigOption<String> TMP_DIR
        The config parameter defining the flink web directory to be used by the webmonitor.
      • UPLOAD_DIR

        public static final ConfigOption<String> UPLOAD_DIR
        The config parameter defining the directory for uploading the job jars. If not specified a dynamic directory will be used under the directory specified by JOB_MANAGER_WEB_TMPDIR_KEY.
      • ARCHIVE_COUNT

        public static final ConfigOption<Integer> ARCHIVE_COUNT
        The config parameter defining the number of archived jobs for the JobManager.
      • LOG_PATH

        public static final ConfigOption<String> LOG_PATH
        The log file location (may be in /log for standalone but under log directory when using YARN).
      • SUBMIT_ENABLE

        public static final ConfigOption<Boolean> SUBMIT_ENABLE
        Config parameter indicating whether jobs can be uploaded and run from the web-frontend.
      • CANCEL_ENABLE

        public static final ConfigOption<Boolean> CANCEL_ENABLE
        Config parameter indicating whether jobs can be canceled from the web-frontend.
      • RESCALE_ENABLE

        public static final ConfigOption<Boolean> RESCALE_ENABLE
        Config parameter indicating whether jobs can be rescaled from the web-frontend.
      • CHECKPOINTS_HISTORY_SIZE

        public static final ConfigOption<Integer> CHECKPOINTS_HISTORY_SIZE
        Config parameter defining the number of checkpoints to remember for recent history.
      • MAX_EXCEPTION_HISTORY_SIZE

        public static final ConfigOption<Integer> MAX_EXCEPTION_HISTORY_SIZE
        The maximum number of failures kept in the exception history.
      • TIMEOUT

        public static final ConfigOption<Duration> TIMEOUT
        Timeout for asynchronous operations by the web monitor in milliseconds.