You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2021/12/30 08:49:51 UTC

[GitHub] [incubator-seatunnel] leo65535 edited a comment on issue #904: [Feature][config] improve the config parse logic

leo65535 edited a comment on issue #904:
URL: https://github.com/apache/incubator-seatunnel/issues/904#issuecomment-1002929651


   cc @garyelephant @CalvinKirs @simon824, I had rewrite the logic and raise a draft pull request, it will help to understand my statement.
   
   had tested the following application.conf
   
   ```
   ./bin/start-seatunnel-spark.sh -c config/application.conf -e client -m local -i app=test
   ```
   
   ```
   env {
     "spark.app.name" = "SeaTunnel"
     "spark.executor.instances" = 2
     "spark.executor.cores" = 1
     "spark.executor.memory" = "1g"
     "spark.streaming.batchDuration" = 5
   }
   
   source {
     fakeStream {
       content = ["Hello World, InterestingLab"]
     }
   
   }
   
   transform {
   }
   
   sink {
     Console {}
   }
   
   ====================================================
   
   env {
     "spark.app.name" = "SeaTunnel"
     "spark.executor.instances" = 2
     "spark.executor.cores" = 1
     "spark.executor.memory" = "1g"
     "spark.streaming.batchDuration" = 5
   }
   
   source {
     "org.apache.seatunnel.spark.source.FakeStream" {
       content = ["Hello World, InterestingLab"]
     }
   
   }
   
   transform {
   }
   
   sink {
     Console {}
   }
   ```


-- 
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: commits-unsubscribe@seatunnel.apache.org

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