You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Paolo Elefante <pa...@gmail.com> on 2022/07/18 11:55:58 UTC

Thrift GO API: how to customize TProcessorFactory::getProcessor()

Hi there,
I have a question about the latest thrift's go api.

My goal is to do what I can do in C++ and Java:
overwrite the getProcessor method in the TProcessorFactory to add my custom
behavior.

In detail, I need to deal with ::apache::thrift::TConnectionInfo of the
incoming connection and reuse it.

This can be done in both C++ and Java. I'm looking for something similar in
the Thrift GO API.

Any ideas?

Thanks!
BR, Paolo