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

Piotr Nowojski commented on FLINK-11499:
----------------------------------------

[~pnarang], for WAL me and [~sewen] were just thinking about re-using existing 
{{FileSystem}} (or {{RecoverableFileSystem}}) implementations

[~kkl0u] I agree that your proposal is better, but it's sounds much more 
complicated and would require custom implementation for every relevant format. 
Maybe there is a place for both approaches? Start with WAL and gradually case 
by case replace it with dedicated solutions?

Also storage requirements wouldn't have to be much higher, as we could be 
cleaning up older files. Bandwidth that's correct, we would need to write data 
twice (potentially to different systems).

> Extend StreamingFileSink BulkFormats to support arbitrary roll policies
> -----------------------------------------------------------------------
>
>                 Key: FLINK-11499
>                 URL: https://issues.apache.org/jira/browse/FLINK-11499
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / FileSystem
>            Reporter: Seth Wiesman
>            Priority: Major
>              Labels: usability
>             Fix For: 1.11.0
>
>
> Currently when using the StreamingFilleSink Bulk-encoding formats can only be 
> combined with the `OnCheckpointRollingPolicy`, which rolls the in-progress 
> part file on every checkpoint.
> However, many bulk formats such as parquet are most efficient when written as 
> large files; this is not possible when frequent checkpointing is enabled. 
> Currently the only work-around is to have long checkpoint intervals which is 
> not ideal.
>  
> The StreamingFileSink should be enhanced to support arbitrary roll policy's 
> so users may write large bulk files while retaining frequent checkpoints.



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

Reply via email to