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

Dmitriy Linevich commented on FLINK-33202:
------------------------------------------

[~xuannan] 

Hello.

I apologize for writing so late.

As I understand it, according to the description of FLIP-327, switching between 
batch and stream will take place by means of backlog data (depending on the 
type). Judging by the number of changes in the project code, this is probably 
not the best way. We tried to implement our own version of mode switching:
 * created an Event similar to EndOfDataEvent
 * similarly with endOfData intercept it in the operator
 * after receiving the event, the operator is switched to STREAM mode 
(initially the operator works in BATCH mode)

Note: It seems to me that the most likely case to use this feature is to 
process the accumulated data in batch mode and then fly to stream (by event).

Is it really need to do it through backlog data?

> FLIP-327: Support switching from batch to stream mode to improve throughput 
> when processing backlog data
> --------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-33202
>                 URL: https://issues.apache.org/jira/browse/FLINK-33202
>             Project: Flink
>          Issue Type: New Feature
>          Components: Runtime / Task
>            Reporter: Xuannan Su
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>
> Umbrella issue for 
> [https://cwiki.apache.org/confluence/display/FLINK/FLIP-327%3A+Support+switching+from+batch+to+stream+mode+to+improve+throughput+when+processing+backlog+data|https://cwiki.apache.org/confluence/display/FLINK/FLIP-309%3A+Support+using+larger+checkpointing+interval+when+source+is+processing+backlog]
> h4.



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

Reply via email to