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 2020/10/15 09:49:44 UTC
[GitHub] [apisix] HuangDayu opened a new issue #2431: request help: 如何配置nacos作为服务发现中心
HuangDayu opened a new issue #2431:
URL: https://github.com/apache/apisix/issues/2431
### Issue description
```config
126 etcd:
127 host: # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
128 - "http://127.0.0.1:2379" # multiple etcd address
129 prefix: "/apisix" # apisix configurations prefix
130 timeout: 30 # 30 seconds
131 # user: root # root username for etcd
132 # password: 5tHkHhYkjr6cQY # root password for etcd
133 #eureka:
134 # host: # it's possible to define multiple eureka hosts addresses of the same eureka cluster.
135 # - "http://127.0.0.1:8761"
136 # prefix: "/eureka/"
137 # fetch_interval: 30 # default 30s
138 # weight: 100 # default weight for node
139 # timeout:
140 # connect: 2000 # default 2000ms
141 # send: 2000 # default 2000ms
142 # read: 5000 # default 5000ms
143 nacos:
144 host:
145 - "http://127.0.0.1:8848"
146 prefix: "/nacos"
147 timeout: 30
```
### Environment
* apisix version (cmd: `apisix version`): 1.5
* OS: CentOS 8
### Desc
这样配置了之后,在上游看不到Nacos的服务。
----------------------------------------------------------------
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
[GitHub] [apisix] juzhiyuan commented on issue #2431: request help: 如何配置nacos作为服务发现中心
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #2431:
URL: https://github.com/apache/apisix/issues/2431#issuecomment-709390215
There has one related issue[1], please follow this issue.
[1] https://github.com/apache/apisix/issues/1731
----------------------------------------------------------------
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
[GitHub] [apisix] HuangDayu commented on issue #2431: request help: 如何配置nacos作为服务发现中心
Posted by GitBox <gi...@apache.org>.
HuangDayu commented on issue #2431:
URL: https://github.com/apache/apisix/issues/2431#issuecomment-709314988
https://github.com/nacos-group/nacos-coredns-plugin
https://github.com/coredns/coredns
https://github.com/caddyserver/caddy
```log
go get -u github.com/mholt/caddy
go: github.com/mholt/caddy upgrade => v1.0.5
go get: github.com/mholt/caddy@v1.0.5: parsing go.mod:
module declares its path as: github.com/caddyserver/caddy
but was required as: github.com/mholt/caddy
make: *** [godeps] Error 1
```
又遇到问题。。。
用开源真的是太难了。。。
----------------------------------------------------------------
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
[GitHub] [apisix] juzhiyuan closed issue #2431: request help: 如何配置nacos作为服务发现中心
Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #2431:
URL: https://github.com/apache/apisix/issues/2431
----------------------------------------------------------------
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