wolfboys opened a new pull request, #1858:
URL: https://github.com/apache/incubator-streampark/pull/1858
Currently, there is no unified specification for parameter settings in the
streampark project, so this time we will solve the problem of the specification
of the whole parameter setting It involves setting the env environment of the
job (stream env | table env), user's parameters, and user's flinksql content
before:
```
flink:
deployment:
property:
${StreamExecutionEnvironment.key} : $value
# table
table:
planner: blink # (blink|old|any)
mode: streaming #(batch|streaming)
```
after:
```
env:
option: #cli opiton args
target: yarn-application # yarn-application, yarn-perjob
shutdownOnAttachedExit:
jobmanager:
...
property:
${StreamExecutionEnvironment.key} : $value
...
table:
${TableEnvironment.key} : $value
...
app: # user's parameter
# $key: $value
sql: # flinksql
my_flinksql: |
CREATE TABLE datagen (
f_sequence INT,
ts AS localtimestamp,
WATERMARK FOR ts AS ts
) WITH (
....
);
...
```
## Contribution Checklist
- If this is your first time, please read our contributor guidelines:
[Submit Code](https://streampark.apache.org/community/submit_guide/submit_code).
- Make sure that the pull request corresponds to a [GITHUB
issue](https://github.com/apache/streampark/issues).
- Name the pull request in the form "[Feature] Title of the pull request",
where *Feature* can be replaced by `Hotfix`, `Bug`, etc.
- Fill out the template below to describe the changes contributed by the
pull request. That will give reviewers the context they need to do the review.
- If the PR is unfinished, add `[WIP]` in your PR title, e.g.,
`[WIP][Feature] Title of the pull request`.
-->
## What changes were proposed in this pull request
Issue Number: close #1857
<!--(For example: This pull request proposed to add checkstyle plugin).-->
## Brief change log
<!--*(for example:)*
- *Add maven-checkstyle-plugin to root pom.xml*
-->
## Verifying this change
<!--*(Please pick either of the following options)*-->
This change is a trivial rework / code cleanup without any test coverage.
*(or)*
This change is already covered by existing tests, such as *(please describe
tests)*.
*(or)*
This change added tests and can be verified as follows:
<!--*(example:)*
- *Added integration tests for end-to-end.*
- *Added *Test to verify the change.*
- *Manually verified the change by testing locally.* -->
## Does this pull request potentially affect one of the following parts
- Dependencies (does it add or upgrade a dependency): (yes / no)
--
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]