You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/02/02 15:16:00 UTC

[GitHub] [beam] nbali edited a comment on pull request #15951: [BEAM-13171] Support for stopReadTime on KafkaIO SDF

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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org