You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I went to learn about GRPC, header=>message=>trailers
We stored the header and future [trailers] through GrpcResponseMetadata
We have completed the promise [GrpcResponseMetada] in onHeader, so we are unable to assign a value to the trainers,
So the original author defined another Promise [trailers]
When on Hedaer, GrpcResponseMetadata is in a semi completed state
OnClose is the final state
I think this FIXME may not be necessary, but there is a lot of repetitive code about GrpcResponseMetada, which can be constructed using a builder pattern to create GrpcResponseMetada, with Header, with Message, with Close (with Trailers)
I have tried writing some code locally, but I still need some deeper exploration
source code
pekko-grpc/runtime/src/main/scala/org/apache/pekko/grpc/internal/PekkoNettyGrpcClientGraphStage.scala
Lines 169 to 176 in 83bdd04
I've submit a pr
The text was updated successfully, but these errors were encountered: