Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议 #127

Open
chengcxy opened this issue Nov 19, 2022 · 1 comment
Open

建议 #127

chengcxy opened this issue Nov 19, 2022 · 1 comment

Comments

@chengcxy
Copy link

chengcxy commented Nov 19, 2022

1.程序运行支持命令行参数 --env app.yml支持读取环境变量 一般密码明文不会存储在配置文件,配环境变量较多
实际开发中需要开发/测试和生产环境 dev_app.yml/prod_app.yml
env参数可以更灵活 一台机器可以运行不同环境的监听程序
2.新增一个config/examples目录 里面是转换器写入目的地的redis/kafka/mq配置 目前在一个app.yml里面混合在一起,注释和参考值放一起容易出错 放这个目录别人使用的时候可以按需找到自己的配置文件
3.日志输出 涉及带密码的脱敏改为*****

@Sharkzeng
Copy link

建议无效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants