anuraaga commented on a change in pull request #2631: Updates to Armeria 0.87
and addresses deprecations
URL: https://github.com/apache/incubator-zipkin/pull/2631#discussion_r293384482
##########
File path:
zipkin-server/src/main/java/zipkin2/server/internal/ZipkinHttpCollector.java
##########
@@ -136,7 +136,7 @@ HttpResponse validateAndStoreSpans(SpanBytesDecoder
decoder, ServiceRequestConte
} else {
// Currently this will happen for gzip spans. Need to fix armeria's
gzip decoder to allow
// returning pooled buffers on request.
- nioBuffer = ByteBuffer.wrap(content.array(), content.offset(),
content.length());
+ nioBuffer = ByteBuffer.wrap(content.array(), 0, content.length());
Review comment:
Ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services