Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Flink uses the following method to parse flink-conf.yaml.
When there are # characters in my parameters, they will be modified.
for example:
flink-conf.yaml : s3.secret-key=abc#123
At the end i will get ‘ s3.secret-key=abc’
Why not use a better way to process flink-conf.yaml? like snakeyaml
String[] comments = line.split("#", 2); String conf = comments[0].trim(); // 2. get key and value if (conf.length() > 0) { String[] kv = conf.split(": ", 2);