olehborysevych commented on code in PR #29507:
URL: https://github.com/apache/beam/pull/29507#discussion_r1411125705


##########
learning/prompts/documentation-lookup/12_basic_timers.md:
##########
@@ -0,0 +1,12 @@
+Prompt:
+What is a Timer in Apache Beam?
+Response:
+In Apache Beam a 
[Timer](https://beam.apache.org/documentation/basics/#state-and-timers) is a 
per-key timer callback API enabling delayed processing of data stored using the 
[State 
API](https://beam.apache.org/documentation/programming-guide/#state-and-timers)
+
+Apache Beam provides two [types of 
timers](https://beam.apache.org/documentation/programming-guide/#timers) - 
processing time timers and event time timers. Processing time timers are based 
on the system clock and event time timers are based on the timestamps of the 
data elements.
+
+Beam also supports dynamically setting a timer tag using TimerMap in the Java 
SDK. This allows for setting multiple different timers in a DoFn and allowing 
for the timer tags to be dynamically chosen - e.g. based on data in the input 
elements
+
+See community blogpost on [Timely 
Processing](https://beam.apache.org/blog/timely-processing/) for more 
information.

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to