Skip to content

Commit 2d2bc6e

Browse files
authored
chore: update accumulator proto (#200)
Signed-off-by: Yashash H L <[email protected]>
1 parent c37931e commit 2d2bc6e

File tree

20 files changed

+103
-205
lines changed

20 files changed

+103
-205
lines changed

pkg/accumulator/examples/streamsorter/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func (s *streamSorter) Accumulate(ctx context.Context, input <-chan accumulator.
2727
log.Println("Exiting the Accumulator")
2828
return
2929
case datum, ok := <-input:
30-
// this case happens due to timeout
30+
// this case happens due to timeout
3131
if !ok {
3232
log.Println("Input channel closed")
3333
return

pkg/apis/proto/accumulator/v1/accumulator.pb.go

Lines changed: 84 additions & 178 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/accumulator/v1/accumulator.proto

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ message AccumulatorRequest {
4545

4646
Payload payload = 1;
4747
WindowOperation operation = 2;
48-
optional Handshake handshake = 3;
4948
}
5049

5150

@@ -63,19 +62,12 @@ message AccumulatorResponse {
6362
// window represents a window to which the result belongs.
6463
KeyedWindow window = 2;
6564
repeated string tags = 3;
66-
optional Handshake handshake = 4;
6765
// EOF represents the end of the response for a window.
68-
bool EOF = 5;
66+
bool EOF = 4;
6967
}
7068

7169

7270
// ReadyResponse is the health check result.
7371
message ReadyResponse {
7472
bool ready = 1;
75-
}
76-
77-
// Handshake message between client and server to indicate the start of transmission.
78-
message Handshake {
79-
// Required field indicating the start of transmission.
80-
bool sot = 1;
8173
}

pkg/apis/proto/accumulator/v1/accumulator_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/map/v1/map.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/map/v1/map_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/reduce/v1/reduce.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/reduce/v1/reduce_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/serving/v1/store.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/proto/serving/v1/store_grpc.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)