You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesatee.apache.org by GitBox <gi...@apache.org> on 2019/12/06 05:47:07 UTC

[GitHub] [incubator-mesatee] mssun opened a new issue #131: Runtime config should not be lazy static

mssun opened a new issue #131: Runtime config should not be lazy static
URL: https://github.com/apache/incubator-mesatee/issues/131
 
 
   If loading code of runtime config is lazy static, it will be automatically called when there is code related with mesatee_config. This is not correct since SDK does not need to read `config.toml` (runtime). However, SDK code uses RPC module which may involve code of mesatee_config and causing loading runtime config automatically in client side.
   
   We should abandon this lazy static and use function call instead. Services should explicitly call this loading config function in their initial functions.

----------------------------------------------------------------
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: dev-unsubscribe@mesatee.apache.org
For additional commands, e-mail: dev-help@mesatee.apache.org