You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by GitBox <gi...@apache.org> on 2020/10/07 21:31:11 UTC
[GitHub] [thrift] fishy commented on pull request #1992: THRIFT-5073: Optional handler interceptor for processor
fishy commented on pull request #1992:
URL: https://github.com/apache/thrift/pull/1992#issuecomment-705205052
I think although there are overlaps, interceptors can do things middleware can't. For example when experimenting switching from TBinaryProtocol to TCompactProtocol, I could really use an interceptor to see how much bandwidth I saved on the wire :)
@voodoo-dn: do you have some example code on what an interceptor implemented by third party on this current implementation will look like?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org