You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Igal Shilman (Jira)" <ji...@apache.org> on 2021/08/23 14:51:00 UTC

[jira] [Updated] (FLINK-22389) Expose Message Batches to SDKs

     [ https://issues.apache.org/jira/browse/FLINK-22389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igal Shilman updated FLINK-22389:
---------------------------------
    Fix Version/s:     (was: statefun-3.1.0)

> Expose Message Batches to SDKs
> ------------------------------
>
>                 Key: FLINK-22389
>                 URL: https://issues.apache.org/jira/browse/FLINK-22389
>             Project: Flink
>          Issue Type: New Feature
>          Components: Stateful Functions
>            Reporter: Konstantin Knauf
>            Priority: Major
>              Labels: auto-unassigned
>
> Stateful Functions always invokes a functions with a batch of messages. Under normal operations the batch size=1 (no batching). 
> If a function is slow and backpressure arises, the batch size grows, though. From an SDK perspective, this batching is not visible. The function is always invoked with a single message. This makes it impossible to efficiently evaluate the whole batch at once (e.g. with pandas). 
> This issue was requested in http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Statefun-Python-Batch-tp43022.html. 



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