Commit Graph

32 Commits (e9e55125a9083219bf7f0a36069ff2f155fea46c)

Author SHA1 Message Date
Kevin Wan 922efbfc2d
chore: refactor zrpc timeout (#3671) 1 year ago
vankillua 842c4d81cc
feat: support the specified timeout of rpc methods (#2742)
Co-authored-by: hanzijian <hanzijian@52tt.com>
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
1 year ago
MarkJoyMa 92f6c48349
fix: NewClientWithTarget miss default config (#3358) 1 year ago
cong 8ad0668612
fix(zrpc): remove default keepalive params for NewClientWithTarget (#3208) 2 years ago
Kevin Wan 8ffe4c01d1
chore: use logx.Must instead of log.Fatal (#3189) 2 years ago
Kevin Wan dc5b8dd716
feat: support grpc client keepalive config (#2950) 2 years ago
Kevin Wan 74e0676617
feat: add config to truncate long log content (#2767) 2 years ago
Kevin Wan 26c541b9cb
feat: add middlewares config for zrpc (#2766)
* feat: add middlewares config for zrpc

* chore: add tests

* chore: improve codecov

* chore: improve codecov
2 years ago
benqi 3604659027
fix: fix client side in zeromicro#2109 (zeromicro#2116) (#2659)
* fix: fix client side in zeromicro#2109 (zeromicro#2116)

* fix: fix client side in zeromicro#2109 (zeromicro#2116)

* fix: fix client side in zeromicro#2109 (zeromicro#2116)
2 years ago
Kevin Wan e80a64fa67
feat: support WithStreamClientInterceptor for zrpc clients (#1907)
* feat: support WithStreamClientInterceptor for zrpc clients

* fix: data race
2 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 9d528dddd6
feat: support third party orm to interact with go-zero (#1286)
* fixes #987

* chore: fix test failure

* chore: add comments

* feat: support third party orm to interact with go-zero

* chore: refactor
3 years ago
chenquan cf683411ee
feature(retry): Delete retry mechanism (#1279) 3 years ago
Kevin Wan 2d4c29ea7c
Revert "Revert "feat: enable retry for zrpc (#1237)"" (#1246) 3 years ago
Kevin Wan 67db40ed4f
Revert "feat: enable retry for zrpc (#1237)" (#1245)
This reverts commit 09eb53f308.
3 years ago
Kevin Wan 09eb53f308
feat: enable retry for zrpc (#1237) 3 years ago
Kevin Wan 57d2f22c24
feat: disable grpc retry, enable it in v1.2.4 (#1233) 3 years ago
Kevin Wan 3c894a3fb7
feat: simplify the grpc tls authentication (#1199) 3 years ago
Kevin Wan 1ece3a498f
feat: use WithBlock() by default, NonBlock can be set in config or WithNonBlock() (#1198) 3 years ago
Kevin Wan ba43214dae
feat: slow threshold customizable in zrpc (#1191)
* feat: slow threshold customizable in rest

* feat: slow threshold customizable in rest

* feat: slow threshold customizable in rest

* feat: slow threshold customizable in zrpc
3 years ago
Kevin Wan 59b9687f31
feat: support auth account for etcd (#1174) 3 years ago
Kevin Wan c1a8ccda11
feat: support ssl on zrpc, simplify the config (#1175) 3 years ago
workman-Lu 9df6786b09
support RpcClient Vertify With Unilateralism and Mutual (#647)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
3 years ago
chenquan 462ddbb145
Add grpc retry (#1160)
* Add grpc retry

* Update grpc retry

* Add tests

* Fix a bug

* Add api && some tests

* Add comment

* Add double check

* Add server retry quota

* Update optimize code

* Fix bug

* Update optimize code

* Update optimize code

* Fix bug
3 years ago
Kevin Wan a40fa405e4
test: add more tests (#1149) 3 years ago
Kevin Wan 20f665ede8
implement k8s service discovery (#988)
* implement k8s service discovery

* simplify code

* use default namespace if not provided

* disable codecov bot comment

* ignore adhoc dir

* simplify building target in NewClient

* reformat code

* Fix filepath (#990)

* format code, and reorg imports (#991)

* add more unit test

Co-authored-by: anqiansong <anqiansong@gmail.com>
3 years ago
Kevin Wan 51de0d0620
fix golint issues in zrpc (#531) 4 years ago
kevin 1abe21aa2a export WithUnaryClientInterceptor 4 years ago
kevin cee170f3e9 fix zrpc client interceptor calling problem 4 years ago
kevin d1b303fe7e export cache package, add client interceptor customization 4 years ago
kevin dbca20e3df add zrpc client interceptor 4 years ago
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago