Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
THRIFT-1972 added support for Asynchronous processors to be used with Non blocking servers. THRIFT-563 added support for multiplexed servers.
I would like to build a Non Blocking server which runs multiple, multiplexed async processors. However, the current Java implementation does not allow a multiplexed asynchronous server:
1. TMultiplexedProcessor implements TProcessor, which causes TNonBlockingServer to create a FrameBuffer, not a AsyncFrameBuffer for it.
2. TMultiplexedProcessor calls the underlying processors with the
process(TProtocol in, TProtocol out)
method variant, which returns false in TBaseAsyncProcessor. It should, instead, be able to call the
process(final AsyncFrameBuffer fb)
variant.
Attachments
Attachments
Issue Links
- links to