Commit Graph

28 Commits (ec4188047615c6bc4272a74a83d0118630a67c63)

Author SHA1 Message Date
Kevin Wan 9c17499757
optimize: shedding algorithm performance (#3908) 9 months ago
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
Kevin Wan 117611a170
fix: default value for keepalive set to 0 (#3152) 2 years ago
Kevin Wan 98c9b5928a
refactor: simplify zrpc stat config (#3107) 2 years ago
Kevin Wan dc5b8dd716
feat: support grpc client keepalive config (#2950) 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
Kevin Wan 1677a4dceb
feat: conf inherit (#2568)
* feat: add ValuerWithParent

* feat: make etcd config inherit from parents

* chore: add more tests

* chore: add more tests

* chore: add more comments

* chore: refactor

* chore: add more comments

* fix: fix duplicated code and refactor

* fix: remove unnecessary code

* fix: fix test case for removing print

* feat: support partial inherit
2 years ago
MarkJoyMa 040c9e0954
feat: rpc add health check function configuration optional (#2288)
* feat: rpc add health check function configuration optional

* update config field name
2 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan a7aeb8ac0e
feat: support tls for etcd client (#1390)
* feat: support tls for etcd client

* chore: fix typo

* refactor: rename TrustedCAFile to CACertFile

* docs: add comments

* fix: missing tls registration

* feat: add InsecureSkipVerify config for testing
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 1ece3a498f
feat: use WithBlock() by default, NonBlock can be set in config or WithNonBlock() (#1198) 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
Kevin Wan eda8230521
chore: reorg imports, format code, make MaxRetires default to 0 (#1165)
* chore: reverse the order of stopping services

* chore: reverse the order of stopping services

* chore: reorg imports, format code

* chore: format code, and refactor

* feat: change MaxRetries default to 0, disable retry
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 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
heyanfu 0466af5e49
optimize code (#637) 4 years ago
Kevin Wan 51de0d0620
fix golint issues in zrpc (#531) 4 years ago
Kevin Wan 086113c843
prevent negative timeout settings (#482)
* prevent negative timeout settings

* fix misleading comment
4 years ago
HarryWang29 d239952d2d
zrpc client support block (#412) 4 years ago
kevin 0b1ee79d3a rename rpcx to zrpc 4 years ago