YuanXin Hu
e739f1d282
Example for Polaris ( #1850 )
...
* fix (registry/polaris): fix get unhealthy service
* fix (example/polaris): add polaris example
3 years ago
Sasha Melentyev
48d407cc9b
perf: add prealloc ( #1846 )
3 years ago
Sasha Melentyev
da147b5763
feat: add zero prealloc ( #1847 )
3 years ago
YuanXin Hu
f3313476ac
Discovery For Tencent Polaris ( #1839 )
...
* feat (registry/polaris): discovery for polaris
1.add heartbeat report option
2.implements GetService function
3.implements Watch function
* test (registry/polaris): test for discovery
1.add GetService test
2.add Watch test
* test (registry/polaris): fix lint
* fix (registry/polaris): fix missing ServiceInstances
3 years ago
包子
d6896127b1
deps: upgrade kratos version to 2.2.0 ( #1834 )
3 years ago
haiyux
24393ee655
fix lint ( #1833 )
3 years ago
youn
a52b17c268
fix: add yaml / yml parser ( #1808 )
...
Co-authored-by: yang.liu14 <yang.liu14@weimob.com>
3 years ago
Jin Peng
85800cedb9
fix(contrib): get nacos service of customize group name ( #1798 )
3 years ago
YuanXin Hu
6446212258
feat(registry/polaris): add registry for Tencent Polaris ( #1816 )
...
* feat(registry): add polaris registry
3 years ago
Casper-Mars
c1e98e41de
fix(config/consul):Config from consul skip empty key ( #1830 )
...
* feat(config/consul):skip empty key
* feat(config/consul):delete empty blank
3 years ago
Jason C.H
471a2aab79
fix: k8s discovery interface ( #1820 )
3 years ago
haiyux
86b8b6c366
fix: fix ci tool ( #1803 )
...
* fix: fix ci tool
3 years ago
haiyux
18315303f0
deps:upgrade go mod version ( #1800 )
...
* deps:upgrade go mod version
3 years ago
zjx-ERROR
0f23c1c516
解决consul client以IPv6地址格式register consul server health check时报错:[Check socket connection failed ... too many colons in address] ( #1790 )
3 years ago
包子
9ea78f302d
deps: upgrade kratos version to v2.1.5 ( #1785 )
3 years ago
guihouchang
1c18228d61
feat: add logger sdk for aliyun ( #1748 )
...
* add logger sdk for aliyun
Co-authored-by: haiyux <haiyux@foxmail.com>
3 years ago
ArthurQ
92e4a83dbf
fix: change consul config docs ( #1784 )
...
Co-authored-by: ArthurQiu <arthurqiuy@outlook.com>
3 years ago
longxboy
a87abe223c
fix: consul heartbeat ttl not registered ( #1781 )
...
* fix: consul heartbeat ttl check not registered
3 years ago
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
3 years ago
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger ( #1761 )
...
* add global logger appliance, as process level default logger
* replace DefaultLogger as global logger
3 years ago
kwame
8bb55663d9
zk 作为注册服务,异常端开,zk节点信息没有清理 ( #1758 )
3 years ago
haiyux
da70e22201
upgrade:upgrade grpc and opentelemetry version ( #1751 )
...
* upgrade:upgrade grpc and opentelemetry version
* upgrade jaeger
* fix lint
3 years ago
包子
7fe194ead4
deps: uprade kratos version to v2.1.4 ( #1749 )
3 years ago
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
xiaoxiaodek
413cc77f7d
fix(config): apollo close function: useless infinite loop causes high cpu usage ( #1674 )
...
Co-authored-by: wangshaosen <wangshaosen@videopls.com>
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
wuxingzhong
7d821541b3
fix doc ( #1636 )
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
李鑫
780a6c0527
docs of etcd config ( #1622 )
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
Windfarer
a8692e7dde
feat(contrib/config): use key file extension as format & config load log ( #1619 )
...
* add format
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
Xiong Liu
ef686a1cc7
feat: Add consul kv config provider ( #1499 )
...
feat: Add consul kv for config
Co-authored-by: liuxiong <lx@webull.com>
3 years ago