Setting a Timer to the minimum timestamp seen
问题 I would like to set a Timer in Event time that fires based on the smallest timestamp seen in the elements within my DoFn. 回答1: For performance reasons the Timer API does not support a read() operation, which for the vast majority of use cases is not a required feature. In the small set of use cases where it is needed, for example when you need to set a Timer in EventTime based on the smallest timestamp seen in the elements within a DoFn, we can make use of a State object to keep track of the