armeria-grpc does not support gRPC Metadata
See original GitHub issueHi, Now trailers isn’t passed to the client, and hope to work in the same way as the official grpc-java.
new GreeterGrpc.GreeterImplBase() {
@Override
public void sayHello(HelloRequest request, StreamObserver<HelloReply> responseObserver) {
Metadata trailers = new Metadata();
trailers.put(DEBUG_INFO_TRAILER_KEY, DEBUG_INFO);
responseObserver.onError(Status.INTERNAL.withDescription(DEBUG_DESC).asRuntimeException(trailers));
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
Running a gRPC service — Armeria documentation
GrpcService supports gRPC, gRPC-Web and Protobuf-JSON by default. If you don't want your GrpcService support all those formats, specify the formats you want ......
Read more >Is there any way to use rich error model for grpc service in ...
I tried to use Metadata but it is only possible when used with responseObserver.onError method not exceptionMapping of GrpcService.Builder.
Read more >gRPC over HTTP2
Custom-Metadata is an arbitrary set of key-value pairs defined by the ... Note that HTTP2 does not allow arbitrary octet sequences for header...
Read more >Authentication - gRPC
You can use our supported mechanisms - SSL/TLS with or without Google ... will not let you send credentials on an unencrypted channel....
Read more >gRPC Connections | Edge Stack
However, gRPC is built on HTTP/2 and most gRPC servers do not speak HTTP/1.x at all. Ambassador Edge Stack must tell its underlying...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh oops - I didn’t look at the code close enough this is for official support for Metadata. I’m currently working on some tricky issues for it but hope we can support it soon 😃
Fixed by #1790