Hi,

when we readstate of of savepooint, we use, "myuid" as a argument of the
function. For example,

DataSet<KeyedState> keyedState = savepoint.readKeyedState("my-uid",
new ReaderFunction());


*Question 1:*

In [1] (line no 79), we get the "uid" with datastream. Then in [2] (line no
45), *how can we use the "uid" that we have got from in [1]?* Because in
[2], there is no declaration of using the "uid" from [1].

*Question 2:*

*what does it mean by "uid" in the datastream of [1]?* is it something a
unique user identification for each stream or for each state of the
datastream?


[1]
https://github.com/ververica/flink-training/blob/master/rides-and-fares/src/solution/java/org/apache/flink/training/solutions/ridesandfares/RidesAndFaresSolution.java
[2]
https://github.com/ververica/flink-training/blob/master/state-processor/src/main/java/com/ververica/flink/training/exercises/ReadRidesAndFaresSnapshot.java

Thank you

Reply via email to