You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lc...@apache.org on 2020/04/09 02:10:43 UTC

[beam] branch master updated: [BEAM-9618] Mark push registration as deprecated.

This is an automated email from the ASF dual-hosted git repository.

lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new cc5cf30  [BEAM-9618] Mark push registration as deprecated.
     new bf4cee8  Merge pull request #11356 from robertwb/proto-notes
cc5cf30 is described below

commit cc5cf306a72158861b5a5b073c33a3c6b5d76080
Author: Robert Bradshaw <ro...@gmail.com>
AuthorDate: Wed Apr 8 16:27:03 2020 -0700

    [BEAM-9618] Mark push registration as deprecated.
---
 model/fn-execution/src/main/proto/beam_fn_api.proto | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/model/fn-execution/src/main/proto/beam_fn_api.proto b/model/fn-execution/src/main/proto/beam_fn_api.proto
index ee3f676..74f4ce9 100644
--- a/model/fn-execution/src/main/proto/beam_fn_api.proto
+++ b/model/fn-execution/src/main/proto/beam_fn_api.proto
@@ -104,12 +104,14 @@ message InstructionRequest {
 
   // (Required) A request that the SDK Harness needs to interpret.
   oneof request {
-    RegisterRequest register = 1000;
     ProcessBundleRequest process_bundle = 1001;
     ProcessBundleProgressRequest process_bundle_progress = 1002;
     ProcessBundleSplitRequest process_bundle_split = 1003;
     FinalizeBundleRequest finalize_bundle = 1004;
     ProcessBundleProgressMetadataRequest process_bundle_progress_metadata = 1005;
+
+    // DEPRECATED
+    RegisterRequest register = 1000;
   }
 }
 
@@ -129,12 +131,14 @@ message InstructionResponse {
   // If the instruction did not fail, it is required to return an equivalent
   // response type depending on the request this matches.
   oneof response {
-    RegisterResponse register = 1000;
     ProcessBundleResponse process_bundle = 1001;
     ProcessBundleProgressResponse process_bundle_progress = 1002;
     ProcessBundleSplitResponse process_bundle_split = 1003;
     FinalizeBundleResponse finalize_bundle = 1004;
     ProcessBundleProgressMetadataResponse process_bundle_progress_metadata = 1005;
+
+    // DEPRECATED
+    RegisterResponse register = 1000;
   }
 }