feat: add mailbox message header (#310)
Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -180,7 +180,15 @@ message AskLeaderResponse {
|
||||
Peer leader = 2;
|
||||
}
|
||||
|
||||
message MailboxMessageHeader {
|
||||
// Encoded trace_id & span_id, follow the w3c Trace Context
|
||||
// https://www.w3.org/TR/trace-context/#header-name
|
||||
map<string, string> tracing_context = 1;
|
||||
}
|
||||
|
||||
message MailboxMessage {
|
||||
/// The header of the mailbox message.
|
||||
MailboxMessageHeader header = 64;
|
||||
// The id is used to associate request and response.
|
||||
uint64 id = 1;
|
||||
// The following information plays a bigger role in making messages traceable
|
||||
|
||||
Reference in New Issue
Block a user