1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-05 13:15:11 +02:00

42 Commits

Author SHA1 Message Date
Wang-TaoTao
ad7597c0b1
fix: init global selector to wrr (#2323) 2022-08-31 21:42:54 +08:00
longxboy
11cd43e3c3
refactor: unify selector filter (#2277)
* unify selector

Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2022-08-16 21:21:58 +08:00
longxboy
123fc1e6c8
feat: add peer for selector (#2088)
* add peer for selector
2022-06-07 22:38:21 +08:00
Tony Chen
dccee86141
log: remove component logger to use global logger (#2061)
* remove component logger to user global logger
2022-05-27 16:29:07 +08:00
haiyux
71ea97fd93
deps: upgrade go mod version (#2028)
* deps:upgrade go mod version
2022-05-22 21:18:46 +08:00
MARATRIX Li
c6c5e4595c
optimization: optimize global logger (#1763) 2022-01-13 10:11:23 +08:00
haiyux
da70e22201
upgrade:upgrade grpc and opentelemetry version (#1751)
* upgrade:upgrade grpc and opentelemetry version

* upgrade jaeger

* fix lint
2022-01-06 20:29:18 +08:00
Jason Song
b421389227
fix: remove the use of client timeout as discovery time (#1715) 2021-12-29 20:33:16 +08:00
包子
5aeb14d381
feat(transport/grpc): gRPC client discovery supports incoming logger and timeout (#1702) 2021-12-22 09:08:46 +08:00
longxboy
98fd40bcb4
revert to select filters (#1656) 2021-11-29 10:55:11 +08:00
longxboy
988c2312b4
feat: add base fitler to improve performace (#1612)
* add node filter

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-08 15:22:04 +08:00
longxboy
feeec630d7
feat: add selector and filters examples (#1485)
* add selector examples and filters
2021-09-23 17:42:21 +08:00
longxboy
20f0a07d36
Feat: add load balancer (#1437)
* add balancer
* add p2c balancer
* add http client selector filter

Co-authored-by: yuemoxi <99347745@qq.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-12 15:14:21 +08:00
Kagaya
f7588a47de
fix: ci lint error (#1391)
* fix lint check

* fix lll lint error

* fix build error

* fix gomnd

* fix shadow declaration

* add make test command

* update
2021-08-31 10:14:57 +08:00
Xudong Cai
b44e47b087
refactor: optimize the code and use golangci-lint to check for any errors (#1298)
* feat: optimize the code and use golangci-lint to check for any errors

* fix: TestLogger unit test
2021-08-16 10:35:08 +08:00
zwhyb
8f4e78b47d
grpc‘s secure discovery (#1270)
* add gprc secure discovery

* add http insecure filter
2021-07-28 23:10:02 +08:00
Tony Chen
5ca42fe921
feat(transport): add transport tls config (#1267)
* add http tls config

* add grpc tls config

* add examples tls

* fix resolver parseTarget

* support https for discovery

* add isSecure
* clean code

Co-authored-by: longXboy <longxboyhi@gmail.com>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2021-07-28 13:36:15 +08:00
longxboy
a02d9b4192
add zero endpoint protection (#1215)
* add zero endpoint protection
2021-07-20 13:36:19 +08:00
喵喵大人
4780b6e1fd
ci(github action): use golangci-lint to replace the deprecated golint (#1175)
* ci: use golangci-lint to replace the deprecated golint

Co-authored-by: ymh199478 <yumenghan@bilibili.com>
2021-07-12 18:09:38 +08:00
longxboy
545ffd1084
add response header (#1119)
* add response header

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-29 15:33:18 +08:00
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 (#1050)
* add middleware metadata
* add transport header
* add transport carrier

Co-authored-by: longXboy <longxboy@gmail.com>
2021-06-14 00:59:07 +08:00
Tony Chen
1b13abd136
transport/http: add http route (#1029)
* add http route

* fix http context

* add HTTP middleware

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-12 18:30:17 +08:00
longxboy
736385c8e6
Feat/uni transport (#1028)
* add metadata incoming&outgoing

* regenerate proto

* uni transport

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-11 15:05:57 +08:00
longXboy
864008ea6b delete grpc recovery 2021-06-01 22:12:46 +08:00
Tony Chen
92b6bf54eb
add grpc interceptor option (#990) 2021-06-01 21:19:18 +08:00
Tony Chen
079f11fb50
add endpoint context (#979) 2021-06-01 12:02:22 +08:00
Tony Chen
149fc0195e
kratos: add application info (#968)
* add application info

* add base context

* add client target
2021-05-29 23:52:05 +08:00
Tony Chen
ef6e52d1ba
add multiple middlewares (#936) 2021-05-20 23:30:50 +08:00
Jason C.H
e7926b989d
Import direct resovler for grpc client (#913) 2021-05-15 16:15:08 +08:00
Tony Chen
3780f70c91
examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
Tony Chen
db98d59b11
add default round_robin to grpc balancer (#790) 2021-03-18 16:03:19 +08:00
Tony Chen
a4409adf16
fix interface defines (#760)
* fix interface defines
2021-03-11 23:26:07 +08:00
longxboy
f526d6b975
add exmaple consul registry (#754) 2021-03-09 22:02:18 +08:00
Tony Chen
8722894939
fix registry interface (#747) 2021-03-05 22:57:28 +08:00
Tony Chen
f86c91849b
fix lint check (#746) 2021-03-05 22:40:38 +08:00
storyicon
18752bf0ec
set transport.kind to be strongly typed (#728)
Signed-off-by: storyicon <storyicon@foxmail.com>
2021-03-05 21:09:02 +08:00
邓小川
27dc0d45df
fix resolver (#740) 2021-03-05 19:15:19 +08:00
chenzhihui
b97c3c4160 fix registry option 2021-03-03 23:09:35 +08:00
longXboy
f984dc5c6d rename naming 2021-02-28 20:40:05 +08:00
longXboy
4444e7a638 fix to discoverer 2021-02-28 15:32:45 +08:00
longXboy
8f064855d9 split naming registry 2021-02-28 13:39:45 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00