paint-brush
How to Implement Client-Side Interceptors for Logging GRPC Requestsby@dmitriiantonov90
278 reads

How to Implement Client-Side Interceptors for Logging GRPC Requests

by Dmitrii Antonov4mDecember 7th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Our implementation will be straightforward; we will store requests and responses in Queues, and then put this data to MDC. There are default implementations such as SimpleForwardingClientCall and SimpleForwardingClientCallListener in which all methods are implemented. If we look at their implementation, we can see that they invoke a next implementation ClientCall or ClientCall.Listener.

Company Mentioned

Mention Thumbnail
featured image - How to Implement Client-Side Interceptors for Logging GRPC Requests
Dmitrii Antonov HackerNoon profile picture
Dmitrii Antonov

Dmitrii Antonov

@dmitriiantonov90

I'm a software engineer with 7 years of experience. I enjoy data structure, graph theory, and distributed systems.

L O A D I N G
. . . comments & more!

About Author

Dmitrii Antonov HackerNoon profile picture
Dmitrii Antonov@dmitriiantonov90
I'm a software engineer with 7 years of experience. I enjoy data structure, graph theory, and distributed systems.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite