Dropwizard configuration by not using .YML file?

夙愿已清 提交于 2019-12-07 21:20:07

问题


I am new to dropwizard. I want to know is their any other way to set the connection port, admin port, logger level and all configuration parameters and not by use .YML file.


回答1:


You can use command like param when starting the application.

Its all within the docs within the Configuration section.

For example:

-Ddw.server.applicationConnectors[0].port=9090


来源:https://stackoverflow.com/questions/23730814/dropwizard-configuration-by-not-using-yml-file

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!