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 2018/11/16 17:50:38 UTC

[GitHub] nishantmonu51 commented on issue #6634: Dependency Injection in DruidModule extension

nishantmonu51 commented on issue #6634: Dependency Injection in DruidModule extension
URL: https://github.com/apache/incubator-druid/issues/6634#issuecomment-439473049
 
 
   mapping runtime.properties to a Config class can be done by using JsonConfigProvider. 
   e.g Refer to how LookupConfig is binded in LookupModule. 
   ```
       JsonConfigProvider.bind(binder, PROPERTY_BASE, LookupConfig.class);
   ```
   Configs can then be specified in runtime.properties like <PROPERTY_BASE>.<PROPERTY_NAME> e.g. 
   `druid.lookupsnapshotWorkingDir` for this example.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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