com.twitter.finagle.thrift.exp.partitioning
A PartialFunction implemented by client that provides the partitioning logic on a request. It takes a Thrift object request, and returns a Map of hashing keys to sub-requests. If we don't need to fan-out, it should return one element: hashing key to the original request. This PartialFunction can take multiple Thrift request types of one Thrift service (different method endpoints of one service).
A PartialFunction implemented by client that provides the partitioning logic on a request.
A PartialFunction implemented by client that provides the partitioning logic on a request. It takes a Thrift object request, and returns a Map of hashing keys to sub-requests. If we don't need to fan-out, it should return one element: hashing key to the original request. This PartialFunction can take multiple Thrift request types of one Thrift service (different method endpoints of one service).
A RequestMergerRegistry implemented by client to supply RequestMergers.
A RequestMergerRegistry implemented by client to supply RequestMergers. For message fan-out cases.
RequestMerger
A ResponseMergerRegistry implemented by client to supply ResponseMergers.
A ResponseMergerRegistry implemented by client to supply ResponseMergers. For message fan-out cases.
ResponseMerger
An API to set a consistent hashing partitioning strategy for a Thrift/ThriftMux Client. For a Java-friendly way to do the same thing, see
ClientHashingStrategy.create