Ideas #2 and #3 that you listed will face problems when encryption is turned on.
FYI there is a binary logging feature that is being actively worked on, which is essentially idea #1: https://github.com/grpc/proposal/pull/41/files I don't have a concrete ETA unfortunately. If you must implement something this yourself I would suggest looking into the server and client interceptors API. On Tuesday, December 19, 2017 at 1:25:56 AM UTC-8, [email protected] wrote: > > I'm interested in recording and playback of GRPC. > > I would like to be able to record incoming requests and play them back > later. > > Some ideas for doing this include: > > - Hooks in the library that would let us write each request to a file. > - Recording as pcap with tcpdump and doing re-assembly. > - Running a small proxy that records and forwards requests. > > Has anything like this been implemented? Any ideas/ thoughts? > > /Nils > > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/36da64aa-99d6-4716-a1d6-32789d9273ca%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
