wangcong
8172f9fff3
fix: k8s client logr incompatible update ( #1744 )
3 years ago
letian
d2f8b45603
feat(registry/consul): add WithHeartbeat option ( #1738 )
3 years ago
letian
1e749de5db
fix(registry/consul):fix can't get service instance in async mode ( #1731 )
...
* fix(registry/consul):fix can't get service instance in async mode
* fix(registry/consul): return error if find service failed
3 years ago
letian
17201cd284
fix(registry/consul): fix can not find service in 20s ( #1728 )
...
* fix(registry/consul): fix can not find service in 20s
3 years ago
包子
1117350b9c
deps: update kratos version to 2.1.3 ( #1706 )
3 years ago
白玉堂
72f9cc3518
docs: some wrong err msg description
3 years ago
包子
32158bcef2
fix(nacos): call unsubscribe when watching is stopped ( #1697 )
3 years ago
Cluas
03f5ee015c
consul: support WithServiceResolver option ( #1693 )
...
* consul: add endpoints resolver option
* consul: resolver []*api.ServiceEntry -> []*registry.ServiceInstance
* consul: rename Resolver -> ServiceResolver
3 years ago
Cluas
5df28f4fdc
registry/nacos: reduce twice string copies ( #1681 )
...
* registry/nacos: reduce two string copies
* registry/nacos: update example
3 years ago
kiripeng
041ffffb15
fix: map 其桶中只能存储 8 个键值对元素,超过后会储存到溢出桶或者扩容,影响性能,预先声明容量以免影响性能 ( #1671 )
3 years ago
sxpsxp12
63a7ffae04
fix: fix nacos.Register many endpoint metadata kind error ( #1664 )
...
* fix: fix nacos.Register metadata map type reference bug --user=sxpsxp12
* fix: fix golangci-link error
Co-authored-by: songxiaopeng <xiaopeng.song@infwaves.com>
3 years ago
leyou240
67161b62eb
feat(registry/nacos): add default kind option ( #1650 )
3 years ago
haiyux
27cfec93d6
optimize:chan bool to chan struct{} ( #1648 )
3 years ago
包子
7e0045cd0f
fix: nacos a vulnerable dependency was referenced ( #1639 )
...
* fix: replace jsonparser version
* fix
* fix
3 years ago
包子
6b53d7d229
deps: upgrade 2.1.2 ( #1638 )
...
* deps: upgrade 2.1.2
* fix lint
3 years ago
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 ( #1626 )
3 years ago
haiyux
05ecd2ce2c
fix:add consul all health check ( #1620 )
...
* fix:add consul all health check
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
3 years ago
Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages ( #1633 )
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
3 years ago
yeqown
c392528e11
docs: replenish config/apollo and registry/discovery readme ( #1625 )
...
* docs(config/apollo): replenish config/apollo readme
* docs(registry/discovery): replenish registry/discovery readme
* docs: complete docs of config/apollo and registry/discovery
3 years ago
wangcong
c3d0bb66bb
fix: nacos registry test data race ( #1613 )
3 years ago
Windfarer
4f013de2ec
test: add nacos test ( #1603 )
...
* add test
* upgrade nacos sdk version
* upgrade nacos sdk version
* fix test
* github nacos instance
* config test
* fix lint
* fix test
* go mod
* fix lint
* lint
3 years ago
wangcong
cf385f6285
fix: k8s nacos and zookeeper registry lint ( #1599 )
3 years ago
包子
979ec39c53
deps: update kratos version ( #1554 )
3 years ago
aiscrm
9743ad8d32
fix registry TTL. ( #1537 )
...
* fix registry.
1. When etcd stops, the application cannot stop.
2. Stop consul first, then stop app. Then start consul, the registered service remains in consul registry as an unhealthy status.
Co-authored-by: corel <corelchen@qq.com>
3 years ago
Windfarer
f3e75bffca
feat: update go version to 1.16 ( #1536 )
3 years ago
Tt yo
3b477e7e52
fix: consul lint error ( #1530 )
...
* fix: consul lint error
* fix: services init eroor
3 years ago
Yeqllo
a2f53128cf
fix(registry/discovery): watch quit while context cancel; supplement metadata ( #1524 )
...
* fix(registry/discovery): watch quit with context cancel; lose metadata while translating ServiceInstance.
3 years ago
longxboy
0aace47d08
fix: fix registry go mod( #1521 )
...
fix: fix registry go mod
3 years ago
Yeqllo
5786f61e13
feat(registry): support discovery registry center ( #1480 )
...
* feat(registry): support discovery registry center
3 years ago
海雨
953deaa363
fix:etcd prifex find error ( #1507 )
3 years ago
包子
25f448794d
deps: otel upgrade to v1.0.0 ( #1500 )
3 years ago
Tony Chen
b92e8a9da8
deps: update otel to v1.0.0-rc3 ( #1466 )
...
* update otel to v1.0.0-rc3
4 years ago
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware ( #1274 )
...
* add auth middleware
4 years ago
Tony Chen
b38c1145cf
fix(middleware/circuitbreaker): add breaker group ( #1453 )
...
* add breaker group
* update aegis to v0.1.1
4 years ago
Casper-Mars
73ce2941bd
fix(contrib/registry/etcd):part of #1430,fix contrib/registry/etcd ( #1441 )
4 years ago
cachalots
cd35233d1d
fix: add context for kubernetes registry, implement the registrar interface ( #1436 )
4 years ago
Kagaya
29a5327291
ci: submodule ci check ( #1401 )
...
* add tool scripts
4 years ago
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir ( #1399 )
...
* move to contrib dir
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago