case classThriftRequest[T](methodName: String, traceId: TraceId, clientId: Option[ClientId], args: T) extends Product with Serializable
ThriftRequest was created to provide some metadata about a request. However
all of this data can be accessed elsewhere:
methodName -> MethodMetadata.current.get.methodName
traceId -> Trace.id
clientId -> ClientId.current
Annotations
@deprecated
Deprecated
(Since version 2018-11-10) Access the metadata contained in this class directly
ThriftRequest was created to provide some metadata about a request. However all of this data can be accessed elsewhere: methodName -> MethodMetadata.current.get.methodName traceId -> Trace.id clientId -> ClientId.current
(Since version 2018-11-10) Access the metadata contained in this class directly
com.twitter.finagle.tracing.TraceId
com.twitter.finagle.thrift.ClientId
com.twitter.finagle.thrift.MethodMetadata