You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/04/19 11:47:03 UTC

[GitHub] [incubator-druid] dene14 opened a new issue #7511: Support config files in yaml/json

dene14 opened a new issue #7511: Support config files in yaml/json
URL: https://github.com/apache/incubator-druid/issues/7511
 
 
   ### Description
   Druid configuration files (runtime properties) clearly structured as a flattened json/yaml file (well, with some edge cases). So why don't we have support for it natively?
   
   ### Motivation
   It would be beneficial to have and ability to pass settings in yaml/json for anyone who uses configuration management tool. Also it will make it more easy for people to share their configuration management modules with community.
   
   For e.g. I have multiple druid setups under my control, feature used in these clusters are quite different. So I ended up with building template that takes  values from YAML and put it into right places. However, every time new configuration item added I should handle it in configuration file template with IFs and other pieces of ugly code.
   
   For the reference:
   Config file: https://github.com/dene14/druid-aws-ecs/blob/k8s/helm/druid/values.yaml
   Config template: https://github.com/dene14/druid-aws-ecs/blob/k8s/helm/druid/files/druid/configs/_common/common.runtime.properties
   
   Any feedback or ideas (even blaming ones) are very welcome! :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org