??????????????????????????????????????????id??????cache????????????????????????id????????????????????????????????????????????????????????????????????????
????????key????????????????????ttl????????????????????????????state ttl??????




------------------ ???????? ------------------
??????:&nbsp;"Congxian Qiu"<[email protected]&gt;;
????????:&nbsp;2020??7??8??(??????) ????3:56
??????:&nbsp;"user-zh"<[email protected]&gt;;

????:&nbsp;Re: State??????guava Cache



TTL state[1] ??????????????? ??????????????????????????????????????

[1]
https://ci.apache.org/projects/flink/flink-docs-master/zh/dev/stream/state/state.html#%E7%8A%B6%E6%80%81%E6%9C%89%E6%95%88%E6%9C%9F-ttl
Best,
Congxian


op <[email protected]&gt; ??2020??7??8?????? ????3:53??????

&gt; ??????????????????Cache??????????????????
&gt;
&gt;
&gt; ------------------&amp;nbsp;????????&amp;nbsp;------------------
&gt; ??????:&amp;nbsp;"Congxian Qiu"<[email protected]&amp;gt;;
&gt; ????????:&amp;nbsp;2020??7??8??(??????) ????3:50
&gt; ??????:&amp;nbsp;"user-zh"<[email protected]&amp;gt;;
&gt;
&gt; ????:&amp;nbsp;Re: State??????guava Cache
&gt;
&gt;
&gt;
&gt; ?????????????????? State ???????? cache ?????????? State 
??????????????????????????????
&gt; ?????????? ValueState???????? ListState/MapState ????????????????????
&gt;
&gt; Best,
&gt; Congxian
&gt;
&gt;
&gt; op <[email protected]&amp;gt; ??2020??7??8?????? ????10:31??????
&gt;
&gt; &amp;gt; ???????????????????? 
ValueState[Cache]??????????????????????????value ????????????
&gt; &amp;gt;
&gt; &amp;gt;
&gt; &amp;gt; 
????????map??????????cache????put????????????????update????state??????cache??????????????????????????????1

回复