File tree 3 files changed +3
-3
lines changed
content/docs/core-concept
content.zh/docs/core-concept
flink-cdc-common/src/main/java/org/apache/flink/cdc/common/pipeline
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,5 +98,5 @@ The following config options of Data Pipeline level are supported:
98
98
| parameter | meaning | optional/required |
99
99
|-----------------|-----------------------------------------------------------------------------------------|-------------------|
100
100
| name | The name of the pipeline, which will be submitted to the Flink cluster as the job name. | optional |
101
- | parallelism | The global parallelism of the pipeline. | required |
101
+ | parallelism | The global parallelism of the pipeline. Defaults to 1. | optional |
102
102
| local-time-zone | The local time zone defines current session time zone id. | optional |
Original file line number Diff line number Diff line change @@ -98,5 +98,5 @@ The following config options of Data Pipeline level are supported:
98
98
| parameter | meaning | optional/required |
99
99
|-----------------|-----------------------------------------------------------------------------------------|-------------------|
100
100
| name | The name of the pipeline, which will be submitted to the Flink cluster as the job name. | optional |
101
- | parallelism | The global parallelism of the pipeline. | required |
101
+ | parallelism | The global parallelism of the pipeline. Defaults to 1. | optional |
102
102
| local-time-zone | The local time zone defines current session time zone id. | optional |
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public class PipelineOptions {
42
42
public static final ConfigOption <Integer > PIPELINE_PARALLELISM =
43
43
ConfigOptions .key ("parallelism" )
44
44
.intType ()
45
- .noDefaultValue ( )
45
+ .defaultValue ( 1 )
46
46
.withDescription ("Parallelism of the pipeline" );
47
47
48
48
public static final ConfigOption <SchemaChangeBehavior > PIPELINE_SCHEMA_CHANGE_BEHAVIOR =
You can’t perform that action at this time.
0 commit comments