Skip to content

Commit 85853a3

Browse files
committed
proto change
1 parent f0c92c7 commit 85853a3

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

  • model/fn-execution/src/main/proto/org/apache/beam/model/fn_execution/v1

model/fn-execution/src/main/proto/org/apache/beam/model/fn_execution/v1/beam_fn_api.proto

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,10 +740,18 @@ message Elements {
740740
bool is_last = 4;
741741
}
742742

743+
message DrainMode {
744+
enum Enum {
745+
UNSPECIFIED = 0;
746+
NOT_DRAINING = 1;
747+
DRAINING = 2;
748+
}
749+
}
750+
743751
// Element metadata passed as part of WindowedValue to make WindowedValue
744752
// extensible and backward compatible
745753
message ElementMetadata {
746-
// empty message - add drain, kind, tracing metadata in the future
754+
optional DrainMode.Enum drain = 1;
747755
}
748756

749757
// Represent the encoded user timer for a given instruction, transform and

0 commit comments

Comments
 (0)