{{/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */}}
Config Type Format Reference
Integer
Regular expression: [-+]? [0-9]+

Example: 100
Long
Regular expression: [-+]? [0-9]+

Example: 100
Float
Regular expression: [-+]? ( \. [0-9]+ | [0-9]+ ( \. [0-9]* )? ) ( [eE] [-+]? [0-9]+ )?

Example: 100.1
Double
Regular expression: [-+]? ( \. [0-9]+ | [0-9]+ ( \. [0-9]* )? ) ( [eE] [-+]? [0-9]+ )?

Example: 100.1
Boolean
Regular expression: true | True | TRUE | false | False | FALSE

Example: true
String
Any character

Note: If the value contains special characters used in YAML, it is necessary to use single or double quotes to escape these characters.
Map<String, String>
  • Flow Style:
    • Description: Enclosed with curly braces "{}" and pairs are separated by a comma ",". Within the mapping, key and value are separated by a colon ":" followed by a space.
    • Example: {k1: v1, k2: v2}
  • Block Style:
    • Description: Uses indentation to represent the hierarchical structure of the data, with keys and values separated by a colon ":" and a space.
    • Example:
      k1: v1
      k2: v2
  • Flink Legacy Map Pattern:
    • Description: Pairs are separated by a comma ",". Within the mapping, keys and values are separated by a colon ":".
    • Example: k1:v1,k2:v2
Note: For values containing special characters, consider escaping them; details can be found in the description of Config Type: String.
List
  • Flow Style:
    • Description: Enclosed within square brackets "[]" and list items are separated by a comma ",".
    • Example: [a, b, c]
  • Block Style:
    • Description: Uses indentation and a dash "-" to denote list items.
    • Example:
      - a
      - b
      - c
  • Flink Legacy Map Pattern:
    • Description: List items are separated by a semicolon ";".
    • Example: a;b;c
Note: For values containing special characters, consider escaping them; details can be found in the description of Config Type: String.
MemorySize
Regular expression: [0-9]+ (b | kb | kibibytes | m | mb | mebibytes | g | gb | gibibytes | t | tb | tebibytes)?

Example: 100 mb
Boolean
Regular expression: [0-9]+ (d | day | h | hour | m | min | minute | s | sec | second | ms | milli | millisecond | us | micro | microsecond | ns | nano | nanosecond)?

Example: 10 s
Enum
Enum Constants