Commit 15ac2829 by 吴延飞

修改Kafka配置读取逻辑,优先从方法参数获取,然后从命令行参数获取,最后从配置文件读取,所以配置文件必须有值,否则程序报错。

parent 96d5340b
......@@ -4,3 +4,4 @@ auto.offset.reset=latest
group.id=wuyanfei
checkpoint.path=file:///f/workspace/flink/state
checkpoint.interval=5000
enable.auto.commit=false
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment