nbali edited a comment on pull request #15951:
URL: https://github.com/apache/beam/pull/15951#issuecomment-1028042159


   Spark runner does something similar too
   ```java
     private void detectTranslationMode(Pipeline pipeline) {
       TranslationModeDetector detector = new TranslationModeDetector();
       pipeline.traverseTopologically(detector);
       if (detector.getTranslationMode().equals(TranslationMode.STREAMING)) {
         // set streaming mode if it's a streaming pipeline
         this.pipelineOptions.setStreaming(true);
       }
     }
   ```
   but this can't be found in the Flink or the Direct runner for example. So 
it's a discrepency between runners then?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to