Skip to content
This repository was archived by the owner on Feb 14, 2025. It is now read-only.

Commit d909638

Browse files
Add invoke key and key to StartMessage
1 parent cae9938 commit d909638

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dev/restate/service/protocol.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ message StartMessage {
4141
bool partial_state = 5;
4242

4343
repeated Header headers = 6;
44+
45+
// If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
46+
string key = 7;
4447
}
4548

4649
// Type: 0x0000 + 1
@@ -200,6 +203,9 @@ message InvokeEntryMessage {
200203

201204
repeated Header headers = 4;
202205

206+
// If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
207+
string key = 5;
208+
203209
oneof result {
204210
bytes value = 14;
205211
Failure failure = 15;
@@ -222,6 +228,9 @@ message BackgroundInvokeEntryMessage {
222228
uint64 invoke_time = 4;
223229

224230
repeated Header headers = 5;
231+
232+
// If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise.
233+
string key = 6;
225234
}
226235

227236
// Completable: Yes

0 commit comments

Comments
 (0)