Skip to content

Commit

Permalink
support partial response
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed Nov 23, 2023
1 parent fe61737 commit e4e32df
Show file tree
Hide file tree
Showing 18 changed files with 227 additions and 248 deletions.
112 changes: 61 additions & 51 deletions pkg/apis/proto/globalreduce/v1/globalreduce.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions pkg/apis/proto/globalreduce/v1/globalreduce.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,18 @@ message GlobalReduceResponse {
repeated string keys = 1;
bytes value = 2;
repeated string tags = 3;
// EventTime represents the event time of the result.
google.protobuf.Timestamp event_time = 4;
}

repeated Result results = 1;
Result result = 1;

// Partition represents a window partition to which the result belongs.
Partition partition = 2;

// EventTime represents the event time of the result.
google.protobuf.Timestamp event_time = 4;
// EOF represents the end of the response for a partition.
bool EOF = 3;

}

/**
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/proto/reduce/v1/reduce.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apis/proto/reduce/v1/reduce.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ message ReduceResponse {
Partition partition = 2;

// EOF represents the end of the stream.
bool EOF = 4;
bool EOF = 3;
}

/**
Expand Down
Loading

0 comments on commit e4e32df

Please sign in to comment.