@Override
            public StreamObserver<BinaryPayload> echo(StreamObserver<BinaryPayload> responseObserver) {
                return new StreamObserver<BinaryPayload>() {
                    @Override
                    public void onNext(BinaryPayload value) {
                        try {
                            responseObserver.onNext(value);
                        } finally {
                            if (wrapBuffer) {
                                GrpcUnsafeBufferUtil.releaseBuffer(value, ServiceRequestContext.current());
                            }
                        }
                    }

                    @Override
                    public void onError(Throwable t) {
                        responseObserver.onError(t);
                    }

                    @Override
                    public void onCompleted() {
                        responseObserver.onCompleted();
                    }
                };
            }
A {@link Benchmark} to check performance of armeria-grpc with large payloads in the megabytes, which is
a relatively common use case for a binary proxy (metadata + large binary blobs).
benchmarks/jmh/src/jmh/java/com/linecorp/armeria/grpc/downstream/LargePayloadBenchmark.java