GBXing opened a new issue #2717:
URL: https://github.com/apache/apisix/issues/2717


   ### Issue description
          I save some configuration data to the ETCD, hoping to load the 
configuration data into local memory when I start Apisix, and then get the 
configuration data when I develop my custom plugin by requiring 
("apisix.xxx").get(). Is there an easy way to do this?
         The way I've been able to do this so far is to add code to the 
http_init_worker() method of init.lua to load my configuration data when Apisix 
starts, but it may not be a good idea to change the source code
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): 1.5
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to