-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support grpc json protocol #582
Conversation
- add client conf - support json codec Closes apache#436
@relaxedCat pls add comment for the public structs/funcs. |
Travis still failing |
97547bd
to
7530503
Compare
Codecov Report
@@ Coverage Diff @@
## develop #582 +/- ##
===========================================
- Coverage 67.20% 67.12% -0.09%
===========================================
Files 174 190 +16
Lines 9261 9918 +657
===========================================
+ Hits 6224 6657 +433
- Misses 2432 2605 +173
- Partials 605 656 +51
Continue to review full report at Codecov.
|
7530503
to
2b8cbe4
Compare
Pls add comments for funcs/stucts. |
2b8cbe4
to
1614725
Compare
1614725
to
9dc28f0
Compare
done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
protocol/grpc/client.go
Outdated
// load clientconfig from consumer_config | ||
// default use grpc | ||
defaultClientConfig := GetDefaultClientConfig() | ||
clientConf = &defaultClientConfig |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the above two line codes is very strange. why now define a NewDefaultClientConfig() *ClientConfig
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok,use defer delay check instead
69b4eb3
to
45a983e
Compare
Fixes #437 comment