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/11/23 02:11:18 UTC
[GitHub] [apisix] lishaoshu1240 commented on issue #5573: docs: dont found the usage of etcd in discovery.md
lishaoshu1240 commented on issue #5573:
URL: https://github.com/apache/apisix/issues/5573#issuecomment-976102823
> see: #4713
@tzssangglass , thanks reply so quikly, you misunderstand what i say.
var LINKS = "https://github.com/apache/apisix/blob/master/docs/en/latest/discovery.md#supported-discovery-registries"
the LINKS have the usage of Eureka/Consul/Nacos, but dont have the etcd usage.
i want use etcd discovery to get my upstream addr in the apisix. you can understand what i want to do if you see this configure:
{
"methods": ["GET"],
"uris": ["/api/order*","/api/calu*"],
"plugins": {
"jwt-auth": {}
},
"upstream": {
"service_name": "order",
"type": "roundrobin",
"discovery_type": "etcd"
}
}
I have micro-services register the addr to my topic “order”
[root@localhost ~]# etcdctl get "order/" --prefix
order/192.168.0.73:9999
{"Name":"order","IP":"192.168.0.73:9999"}
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org