tzssangglass commented on issue #5706:
URL: https://github.com/apache/apisix/issues/5706#issuecomment-987464045


   > 1. at what stage does the nacos metadata information get and where is it 
placed?
   
   You can see how the service registration information for nacos is obtained 
and how it is stored in nacos.lua. e.g. 
https://github.com/apache/apisix/blob/master/apisix/discovery/nacos/init.lua#L216-L230
   
   > 2. where to add require("apisix.balancer.your_balancer")?
   
   your_balancer is placed in the apisix/balancer folder
   
   > 3. what functions should I implement in my custom balancer?
   
   take a look at: 
https://github.com/apache/apisix/blob/master/apisix/balancer/roundrobin.lua
   
   BTW, I think this is a bit difficult, if you haven't had experience 
developing plugins before.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to