in order to debug our application, we save all incoming data (s3 sink) in a separate part of the graph (even before the timestamping/watermarking process). our data already includes timestamp (event timestamp), and before saving the data, we want to add one more field in which there will be a timestamp when the message actually got into the flink ( kind of processing time).
how best to do it? perhaps flink provides a special API for this
now we are doing very simple new Date().getTime