Commit Graph

176 Commits

Author SHA1 Message Date
soasurs
62ba01120e
fix: zrpc kube resolver builder (#4119)
Signed-off-by: soasurs <soasurs@gmail.com>
2024-05-06 14:50:35 +08:00
Kevin Wan
b3cd8a32ed
feat: trigger breaker on underlying service timeout (#4112) 2024-04-30 19:01:20 +08:00
Kevin Wan
d371ab5479
feat: use breaker with ctx to prevent deadline exceeded (#4091)
Signed-off-by: kevin <wanjunfeng@gmail.com>
2024-04-18 23:18:49 +08:00
mongobaba
459d3025c5
optimize: change err == xx to errors.Is(err, xx) (#3991) 2024-03-09 12:49:16 +00:00
Kevin Wan
e9e55125a9
chore: fix warnings (#3990) 2024-03-09 13:48:11 +08:00
Kevin Wan
25a807afb2
chore: add tests (#3921) 2024-02-20 10:11:43 +08:00
Kevin Wan
9c17499757
optimize: shedding algorithm performance (#3908) 2024-02-15 20:22:22 +08:00
Kevin Wan
a1fca3a1da
chore: upgrade go dependencies (#3657) 2023-10-28 00:19:22 +08:00
MarkJoyMa
c05e03bb5a
feat: add metrics (#3624) 2023-10-26 15:51:28 +00:00
Kevin Wan
922efbfc2d
chore: refactor zrpc timeout (#3671) 2023-10-26 08:55:26 +08:00
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>
2023-10-25 13:01:57 +00:00
Kevin Wan
36bbc6a2e2
chore: add error handling on registering event handlers to k8s (#3663) 2023-10-23 21:57:09 +08:00
Kevin Wan
c2ff00883a
chore: update restful/grpc servers shutdown stages (#3662) 2023-10-23 13:03:05 +00:00
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 2023-10-21 00:00:57 +08:00
Kevin Wan
6821b0a7dd
chore: upgrade grpc (#3558) 2023-09-12 10:30:26 +08:00
MarkJoyMa
92f6c48349
fix: NewClientWithTarget miss default config (#3358) 2023-06-16 23:29:52 +08:00
me-cs
0217044900
update:Use the Milliseconds method of duration to get the number of milliseconds (#3285)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-05-26 14:32:46 +00:00
Kevin Wan
8f5a0a2de7
fix: remove etcd pings to avoid too-many-pings error (#3212) 2023-05-06 12:39:19 +08:00
cong
8ad0668612
fix(zrpc): remove default keepalive params for NewClientWithTarget (#3208) 2023-05-05 13:00:59 +00:00
Kevin Wan
8ffe4c01d1
chore: use logx.Must instead of log.Fatal (#3189) 2023-04-29 23:46:04 +08:00
Kevin Wan
14caf5c799
chore: simplify tests with logtest (#3184) 2023-04-29 20:36:29 +08:00
MarkJoyMa
e20b02f311
gateway: open timeout function cabinet (#3047)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-04-22 05:23:47 +00:00
Kevin Wan
117611a170
fix: default value for keepalive set to 0 (#3152) 2023-04-21 03:15:05 +00:00
cong
22fad4bb9c
feat(trace): add trace test helpers (#3108) 2023-04-08 14:52:25 +00:00
Kevin Wan
98c9b5928a
refactor: simplify zrpc stat config (#3107) 2023-04-08 14:45:05 +00:00
cong
49135fe25e
refactor(zrpc): prefer static config for zrpc server statinterceptor (#3105) 2023-04-08 13:03:32 +00:00
cong
b49fc81618
refactor(redistest): simplify redistest.CreateRedis API (#3086) 2023-04-01 05:02:21 +00:00
Kevin Wan
04434646eb
chore: refactor zrpc setup (#3064) 2023-03-25 20:40:21 +08:00
Kevin Wan
f77e2c9cfa
chore: add more tests (#3014) 2023-03-11 14:57:56 +08:00
Shyunn
544aa7c432
Added zrpc server custom serverID for custom registration Key when the service is registered on ETCD. (#3008) 2023-03-11 14:34:28 +08:00
Kevin Wan
fbf129d535
chore: add more tests (#3010) 2023-03-10 21:56:19 +08:00
Kevin Wan
dc5b8dd716
feat: support grpc client keepalive config (#2950) 2023-03-03 23:40:17 +08:00
Kevin Wan
8bc34c58f4
fix: test failures (#2892)
Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2023-02-16 19:45:34 +08:00
Kevin Wan
0a5a26385d
chore: add more tests (#2866)
* chore: add more tests

* chore: add more tests

* chore: fix test failure
2023-02-11 14:21:39 +08:00
MarkJoyMa
dd117ce9cf
feat: converge grpc interceptor processing (#2830)
* feat: converge grpc interceptor processing

* x

* x
2023-01-30 15:48:50 +08:00
MarkJoyMa
fde05ccb28
feat: add MustNewRedis (#2824)
* feat: add MustNewRedis

* feat: add MustNewRedis

* feat: add MustNewRedis

* x

* x

* fix ut

* x

* x

* x

* x

* x
2023-01-29 18:03:05 +08:00
Kevin Wan
ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2023-01-24 16:32:02 +08:00
Kevin Wan
7e0ac77139
feat: upgrade go to v1.18 (#2817)
* feat: upgrade go to v1.18

* feat: upgrade go to v1.18
2023-01-24 15:47:01 +08:00
Kevin Wan
696da4efee
chore: add more tests (#2815)
* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests

* chore: add more tests
2023-01-24 13:43:13 +08:00
Kevin Wan
ceab564429
chore: add more tests (#2814) 2023-01-24 12:03:05 +08:00
Kevin Wan
4bd8025c5b
chore: add more tests (#2812)
* chore: add more tests

* chore: add more tests
2023-01-23 23:27:47 +08:00
Kevin Wan
4bed34090f
chore: add more tests (#2800) 2023-01-17 09:59:42 +08:00
Kevin Wan
6340e24c17
chore: add tests (#2774) 2023-01-09 23:48:31 +08:00
Kevin Wan
74e0676617
feat: add config to truncate long log content (#2767) 2023-01-09 09:39:30 +08:00
Kevin Wan
0c786ca849
chore: remove simple methods, inlined (#2768) 2023-01-09 00:55:13 +08:00
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
2023-01-08 19:34:05 +08:00
Kevin Wan
fdc57d07d7
fix: #2672 (#2681)
* fix: #2672

* chore: fix more cases

* chore: update deps

* chore: update deps

* chore: refactor

* chore: refactor

* chore: refactor
2022-12-11 00:41:50 +08:00
re-dylan
ef22042f4d
feat: add dev server and health (#2665)
* feat: add dev server and health

* fix: fix ci

* fix: fix comment.

* feat: add enabled

* remove no need test

* feat: mv devServer to internal

* feat: default enable pprof

Co-authored-by: dylan.wang <dylan.wang@yijinin.com>
2022-12-10 20:40:23 +08:00
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)
2022-12-04 00:25:52 +08:00
bigrocs
90828a0d4a
The default port is used when there is no port number for k8s (#2598)
* k8s 没有端口号时使用默认端口

* Modify the not port test
2022-11-27 09:00:11 +08:00