You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/05/13 11:21:04 UTC
[jira] [Created] (FLINK-6576) Allow ConfigOptions to validate the
configured value
Chesnay Schepler created FLINK-6576:
---------------------------------------
Summary: Allow ConfigOptions to validate the configured value
Key: FLINK-6576
URL: https://issues.apache.org/jira/browse/FLINK-6576
Project: Flink
Issue Type: Wish
Components: Configuration
Reporter: Chesnay Schepler
Priority: Trivial
It is not unusual for a config parameter to only accept certain values. Ports may not be negative, modes way essentially be enums, and file paths must not be gibberish.
Currently these validations happen manually after the value was extracted from the {{Configuration}}.
I want to start a discussion on whether we want to move this validation into the ConfigOption itself.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)