You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/06/18 21:15:05 UTC

[GitHub] [apisix] spacewander commented on issue #4442: Does apisix support etcd service discovery

spacewander commented on issue #4442:
URL: https://github.com/apache/apisix/issues/4442#issuecomment-863746666


   APISIX indeed supports using etcd for service discovery.
   
   There is no official service discovery API in etcd.
   So the only one to use etcd is writing your own discovery framework.
   It is also the way we do in APISIX.
   
   When we put this configuration into etcd via Admin API or via something else:
   ```
   /apisix/upstreams/myAPIProvider
   ...
   /apisix/routes/1
   ..."upstream_id":"myAPIProvider"
   ```
   
   We are already doing service discovery.


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