最近浏览ververica[1]的时候,看到了这么个例子[3]
首先复习下状态机的概念
Q
n
+
1
=
F
(
Q
n
)
Q_{n+1}=F(Q_{n})
Qn+1=F(Qn)
[3]这个例子只是在用ValueState来解释Flink的State管理,
并且还在[2]中提到
While this example is much simpler and more manual than what the CEP library supports, it illustrates the use of event processing and state management for a medium complex scenario.
所以本文结论:
关于ValueState这个状态机,虽然在Ververica的ppt中出现,
但是在应用上没有任何价值,不需要学习.
Reference:
[1]状态管理与容错机制
[2]例子说明