Skip to content

Commit

Permalink
feat: Unify Map Stream and Unary Map Operations Using a Shared gRPC P…
Browse files Browse the repository at this point in the history
…rotocol (#162)

Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 authored Oct 14, 2024
1 parent ed18862 commit 53eedf8
Show file tree
Hide file tree
Showing 19 changed files with 640 additions and 1,273 deletions.
164 changes: 83 additions & 81 deletions pkg/apis/proto/map/v1/map.pb.go

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pkg/apis/proto/map/v1/map.proto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ message MapRequest {
// This ID is used to uniquely identify a map request
string id = 2;
optional Handshake handshake = 3;
optional Status status = 4;
optional TransmissionStatus status = 4;
}

/*
Expand All @@ -44,7 +44,7 @@ message Handshake {
/*
* Status message to indicate the status of the message.
*/
message Status {
message TransmissionStatus {
bool eot = 1;
}

Expand All @@ -61,7 +61,7 @@ message MapResponse {
// This ID is used to refer the responses to the request it corresponds to.
string id = 2;
optional Handshake handshake = 3;
optional Status status = 4;
optional TransmissionStatus status = 4;
}

/**
Expand Down
Loading

0 comments on commit 53eedf8

Please sign in to comment.