[ 
https://issues.apache.org/jira/browse/FLINK-16903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17073465#comment-17073465
 ] 

Jark Wu commented on FLINK-16903:
---------------------------------

I think in the long term, {{SupportsCustomParallelism}} is needed to inference 
a default parallelism of source and sink, e.g. use the number of Kafka 
partitions. So I'm +1 to this way. But I would like to call it 
{{SupportsReportSplits}} or {{SupportsReportPartitions}}, so it can be used not 
only for specifying a parallelism, but can also be used as a max-parallelism. 

> Add sink.parallelism for file system factory
> --------------------------------------------
>
>                 Key: FLINK-16903
>                 URL: https://issues.apache.org/jira/browse/FLINK-16903
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / Runtime
>            Reporter: Jingsong Lee
>            Priority: Major
>             Fix For: 1.11.0
>
>
> A single task may be writing multiple files at the same time. If the 
> parallelism is too high, it may lead to a large number of small files. If the 
> parallelism is too small, the performance is not enough. This requires that 
> the user can specify parallelism.
>  * Default is the same as upstream transformation
>  * Users can specify parallelism too.
> |‘connector.sink.parallelism’ = ...|



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to