From cbcb27c854f508c55d66b3c324a2795009ef48fa Mon Sep 17 00:00:00 2001 From: slinkydeveloper Date: Tue, 1 Oct 2024 17:40:48 +0200 Subject: [PATCH] Add idempotency_key to CallEntryMessage & OneWayCallEntryMessage. --- dev/restate/service/protocol.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev/restate/service/protocol.proto b/dev/restate/service/protocol.proto index 57cc5c6..405fee0 100644 --- a/dev/restate/service/protocol.proto +++ b/dev/restate/service/protocol.proto @@ -25,6 +25,7 @@ enum ServiceProtocolVersion { // Added // * New entry to cancel invocations: CancelInvocationEntryMessage // * New entry to retrieve the invocation id: GetCallInvocationIdEntryMessage + // * New field to set idempotency key for Call entries V3 = 3; } @@ -317,6 +318,8 @@ message CallEntryMessage { // If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise. string key = 5; + string idempotency_key = 6; + oneof result { bytes value = 14; Failure failure = 15; @@ -346,6 +349,8 @@ message OneWayCallEntryMessage { // If this invocation has a key associated (e.g. for objects and workflows), then this key is filled in. Empty otherwise. string key = 6; + string idempotency_key = 7; + // Entry name string name = 12; }