-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
grpc: enables collector by default #3732
Conversation
Signed-off-by: Adrian Cole <adrian@tetrate.io>
long encodedLength = responseBody.readInt() & 0xffffffffL; | ||
|
||
return ReportResponse.ADAPTER.decode(responseBody); | ||
void callReport(ListOfSpans spans) throws IOException { |
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.
I refactored this to close resources.. only other change is verifying the encodedLength is the same as the input. Since the result has no fields, I changed to void return
zipkin-server/src/test/java/zipkin2/server/internal/ITZipkinGrpcCollector.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Adrian Cole <adrian@tetrate.io>
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 grpc service hasn't had any requests for change since introduction, and the code in armeria is stable. This enables the gRPC service by default (on both slim and normal builds as it only needs armeria).
This moves it out of experimental (something I neglected to do in 3.0, but better late than never).
cc @openzipkin/armeria