You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (Jira)" <ji...@apache.org> on 2021/03/22 03:03:00 UTC
[jira] [Closed] (FLINK-21865) Add a Docker Compose greeter example
to StateFun playgrounds
[ https://issues.apache.org/jira/browse/FLINK-21865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai closed FLINK-21865.
---------------------------------------
Resolution: Fixed
flink-statefun-playground/dev: dce2fa7db176039a43612f966a3536a8a72edc32
> Add a Docker Compose greeter example to StateFun playgrounds
> ------------------------------------------------------------
>
> Key: FLINK-21865
> URL: https://issues.apache.org/jira/browse/FLINK-21865
> Project: Flink
> Issue Type: Task
> Components: Stateful Functions
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Major
> Labels: pull-request-available
> Fix For: statefun-3.0.0
>
>
> This example is intended as a follow-up after completion of the Java SDK Showcase Tutorial (FLINK-21862).
> If users are already familiar with the Java SDK fundamentals and would like to get a better understanding of how a realistic StateFun application looks like, then this would be the example they start with. Otherwise, we would recommend users to take a look at the Showcase tutorial first.
> This example works with Docker Compose, and runs a few services that build up an end-to-end StateFun application:
> - Functions service that runs functions and expose them through an HTTP endpoint.
> - StateFun runtime processes (a manager plus workers) that will handle ingress, egress, and inter-function messages as well as function state storage in a consistent and fault-tolerant manner.
> - Apache Kafka broker for the application ingress and egress.
> To motivate this example, we'll implement a simple user greeter application, which has two functions - a {{UserFn}} that expects {{UserLogin}} JSON events from an ingress and keeps in state storage information about users, and a {{GreetingsFn}} that accepts user information to generate personalized greeting messages that are sent to users via an egress.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)