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

Zhongqiang Gong commented on FLINK-35240:
-----------------------------------------

[~afedulov] Can you give some suggestion? 

Solution:
Disable `_FLUSH_AFTER_WRITE_VALUE_` to avoid flush per record added.

> Disable FLUSH_AFTER_WRITE_VALUE to avoid flush per record
> ---------------------------------------------------------
>
>                 Key: FLINK-35240
>                 URL: https://issues.apache.org/jira/browse/FLINK-35240
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / FileSystem
>            Reporter: Zhongqiang Gong
>            Priority: Minor
>         Attachments: image-2024-04-26-00-23-29-975.png
>
>
> According to user email: 
> https://lists.apache.org/thread/9j5z8hv4vjkd54dkzqy1ryyvm0l5rxhc
>  !image-2024-04-26-00-23-29-975.png! 
> I found `org.apache.flink.formats.csv.CsvBulkWriter#addElement` will flush 
> per record.
> I think maybe we can disable `FLUSH_AFTER_WRITE_VALUE` to avoid flush when a 
> record added.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to