-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
WIP: Sample gRPC server #903
Conversation
// grpc.UnaryInterceptor(grpc_validator.UnaryServerInterceptor()), | ||
// grpc.StreamInterceptor(grpc_validator.StreamServerInterceptor()), | ||
) | ||
api_v2.RegisterQueryServiceServer(s, server.New()) |
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.
Just wanted to mention that it's probably a good idea to have each service on its own port, so that different components can have different constraints. Like, I might want to expose the Query Service to the public internet but not the Collector.
Codecov Report
@@ Coverage Diff @@
## master #903 +/- ##
==========================================
- Coverage 100% 99.67% -0.33%
==========================================
Files 138 140 +2
Lines 6373 6424 +51
==========================================
+ Hits 6373 6403 +30
- Misses 0 21 +21
Continue to review full report at Codecov.
|
95a3a81
to
426d31b
Compare
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Jan Heylen <[email protected]>
* Fix test error Signed-off-by: Isaac Hier <[email protected]> * go fmt Signed-off-by: Isaac Hier <[email protected]>
done in #1165 |
blocked on #927