diff --git a/dev/restate/service/protocol.proto b/dev/restate/service/protocol.proto index a2ce02e..97b7f46 100644 --- a/dev/restate/service/protocol.proto +++ b/dev/restate/service/protocol.proto @@ -39,6 +39,8 @@ message StartMessage { // protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED repeated StateEntry state_map = 4; bool partial_state = 5; + + repeated Header headers = 6; } // Type: 0x0000 + 1 @@ -196,6 +198,8 @@ message InvokeEntryMessage { bytes parameter = 3; + repeated Header headers = 4; + oneof result { bytes value = 14; Failure failure = 15; @@ -216,6 +220,8 @@ message BackgroundInvokeEntryMessage { // If this value is not set, equal to 0, or past in time, // the runtime will execute this BackgroundInvoke as soon as possible. uint64 invoke_time = 4; + + repeated Header headers = 5; } // Completable: Yes @@ -255,3 +261,8 @@ message Failure { // Contains a concise error message, e.g. Throwable#getMessage() in Java. string message = 2; } + +message Header { + string key = 1; + string value = 2; +}