gRPC Plugin for generic gRPC Files/ replace protobuf serialization
60 views
Skip to first unread message
Gerrit Kühnle
unread,
Oct 30, 2024, 10:02:16 AM10/30/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Is there a plugin similar to grpc_cpp_plugin that can generate generic gRPC files for a service without relying on protobuf? Specifically, I'm looking to replace the Request and Response provided by the protobuf header in the service method with ByteBuffer. Alternatively, if I want to use a different serialization format instead of protobuf, is the recommended approach to override the Serialize and Deserialize functions in SerializationTraits for C++?
AJ Heller
unread,
Nov 4, 2024, 12:29:16 PM11/4/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi Gerrit,
Flatbuffers has done something like this, you can read about it here https://grpc.io/blog/grpc-flatbuffers/. That writeup has links to their code examples.