Hello Marco! Your understanding is correct, but in addition You can also use StateFun within a DataStream application [1]
[1] https://ci.apache.org/projects/flink/flink-statefun-docs-master/docs/sdk/flink-datastream/ On Wed, Apr 7, 2021 at 2:49 AM Marco Villalobos <mvillalo...@kineteque.com> wrote: > Upon reading about stateful functions, it seems as though first, a data > stream has to flow to an event ingress. Then, the stateful functions will > perform computations via whatever functionality it provides. Finally, the > results of said computations will flow to the event egress which will be > yet another datastream within the data stream job. > > Is my understanding correct? > > I was hoping that a stateful function could be called by a process > function, is that possible? (I am guessing no). > > Please let me know. > > Thank you. Sincerely, > > Marco A. Villalobos >