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

Tzu-Li (Gordon) Tai commented on FLINK-17519:
---------------------------------------------

Hi! Thanks for taking this task. Sorry for the slow reply.

I suggest simply writing a savepoint that the greeter example can use (make a 
copy of the greeter example functions in your E2E code), say X user has already 
been seen 2 times.
Then, restore the greeter functions from the created savepoint, and write a 
Kafka record and verify that the output is correct w.r.t. the state.

> Add Java State Bootstrapping E2E test for Stateful Functions
> ------------------------------------------------------------
>
>                 Key: FLINK-17519
>                 URL: https://issues.apache.org/jira/browse/FLINK-17519
>             Project: Flink
>          Issue Type: Task
>          Components: Stateful Functions
>            Reporter: Tzu-Li (Gordon) Tai
>            Priority: Blocker
>             Fix For: statefun-2.0.1, statefun-2.1.0
>
>
> Add an Stateful Functions E2E test that writes a savepoint using the state 
> bootstrapping API, which is compatible to be restored by the greeter example.
> Then, deploy a Stateful Functions app using the 
> {{StatefulFunctionsAppContainers}} and restoring from the written savepoint.



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

Reply via email to