imxhf opened a new pull request #3934:
URL: https://github.com/apache/apisix/pull/3934


   Nacos is wildly used as service discovery registery.
   
   Here add the nacos in APISIX discovery.
   
   The codes considers followings:
   
   When use Nacos in produce env, nacos_username and nacos_password are needed 
to get the access_token, which is used in Nacos admin API, and access_token's 
ttl is 18000s.
   In Nacos, namespaceId, groupName and serviceName are used together to 
confirm one specific sercie. And the default namespaceId is public, default 
groupName is DEFAULT_GROUP.
   Only fetch instances of those Nacos services that are used in APISIX, but 
not fetch instances of all services in Nacos.
   There is cache for instances of Nacos services and the intances fetch 
interval could be configured.


-- 
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:
us...@infra.apache.org


Reply via email to