[jira] [Created] (FLINK-21705) Add a SliceType to the StateFun Java SDK

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

[jira] [Created] (FLINK-21705) Add a SliceType to the StateFun Java SDK

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

             Summary: Add a SliceType to the StateFun Java SDK
                 Key: FLINK-21705
                 URL: https://issues.apache.org/jira/browse/FLINK-21705
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Tzu-Li (Gordon) Tai
             Fix For: statefun-3.0.0


A {{SliceType}} is a type that simply treats the value as raw bytes. The serializer implementation simply forwards the bytes as is, without any copying. Since slices are immutable, the type is considered immutable.

This type can come in handy if users would like to avoid serialization / deserialization in certain scenarios, e.g. sending state values as a message to another function.



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