You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zakelly Lan (Jira)" <ji...@apache.org> on 2024/08/04 15:19:00 UTC

[jira] [Created] (FLINK-35972) Directly specify key and process runnable in async state execution model

Zakelly Lan created FLINK-35972:
-----------------------------------

             Summary: Directly specify key and process runnable in async state execution model
                 Key: FLINK-35972
                 URL: https://issues.apache.org/jira/browse/FLINK-35972
             Project: Flink
          Issue Type: Sub-task
            Reporter: Zakelly Lan
            Assignee: Zakelly Lan


In asynchronous execution model (FLIP-425) for state, the key is managed by the framework and automatically assigned before {{processElement}} or callback running. However in some cases, there should be an internal interface that allows to switch key and start a new process with this key. It is useful when implementing something like mini-batch, which triggers a batch of real logic for gathered elements at one time instead of the {{processElement}} for each element.

Additionally, the processing invoked by this interface should have a higher priority than the normal input, as the semantics of this processing method is to continue processing the previously half-processed data.



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