[jira] [Created] (FLINK-19102) Make StateBinder a per-FunctionType entity

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-19102) Make StateBinder a per-FunctionType entity

Shang Yuanchun (Jira)
Tzu-Li (Gordon) Tai created FLINK-19102:
-------------------------------------------

             Summary: Make StateBinder a per-FunctionType entity
                 Key: FLINK-19102
                 URL: https://issues.apache.org/jira/browse/FLINK-19102
             Project: Flink
          Issue Type: Task
          Components: Stateful Functions
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai
             Fix For: statefun-2.2.0


Currently, a single {{StateBinder}} instance is used across multiple {{FunctionType}} s for binding state objects to Flink state.

While this is fine, it creates a leak of internal runtime information to the {{PersistedStateRegistry}} class. To fix this, we need to make {{FunctionType}} a property of each individual state binder, etc. each state binder binds state for a single {{FunctionType}}.



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