Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Add StringKeyedEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper committed Sep 6, 2023
1 parent a446b03 commit 69482bf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev/restate/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,13 @@ message KeyedEvent {
string source = 3;
map<string, string> attributes = 15;
}

message StringKeyedEvent {
// Payload
string key = 1 [(dev.restate.ext.field) = KEY];
bytes payload = 2;

// Metadata
string source = 3;
map<string, string> attributes = 15;
}

0 comments on commit 69482bf

Please sign in to comment.