Thank you Igal. The remote functions from different language can be "mixed" by 
deploying different unit services in Dockerfile, and they can exchange messages 
by common message types like json, protobuf etc, or even connect together by 
in/out kafka topics, right? 
















At 2022-02-16 22:30:27, "Igal Shilman" <i...@ververica.com> wrote:

Hello,
You can take a look at the flink stateful functions playground[1] where you can 
find  a handful of examples, in all the supported
SDKs, in addition for each language you will find a walkthrough that shows how 
to use the individual SDK features.
Furthermore take a look at the documentations [2][3].


Generally, remote functions from different languages can be mixed, you can 
deploy a Python function and a Java function
that can send messages to each other using the built-in type system[4].



[1] https://github.com/apache/flink-statefun-playground/tree/release-3.2
[2] 
https://nightlies.apache.org/flink/flink-statefun-docs-master/docs/modules/http-endpoint/
[3] 
https://nightlies.apache.org/flink/flink-statefun-docs-master/docs/deployment/overview/
[4] 
https://github.com/apache/flink-statefun-playground/blob/release-3.2/java/showcase/src/main/java/org/apache/flink/statefun/playground/java/showcase/part1/types/TypeSystemShowcaseFn.java




Good luck,
Igal.



On Tue, Feb 15, 2022 at 3:32 AM casel.chen <casel_c...@126.com> wrote:

Hello,
I am looking for polyglot example of stateful functions and learn how to 
program functions with different language then deploy them together as a unit 
of event driven application.
Examples like Fraud Detection which use python functions in ML while use java 
funtions to process data etc. Thanks!




 

Reply via email to