Tan-JiaLiang opened a new issue, #1766:
URL: https://github.com/apache/incubator-paimon/issues/1766

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   In the scenario of stream processing, there are two important metrics, one 
is the data processing delay and the other is the data stream interruption. 
Currently, the source of Flink's FLIP-33 supports the statistics of these two 
metrics, which correspond to currentEmitEventTimeLag (data processing delay) 
and sourceIdleTime (the time of the stream interruption).
   
   ### Solution
   
   Among them, sourceIdleTime is already supported by default, but 
currentEmitEventTimeLag requires setting a record timestamp when emitting from 
source, which can refer to the design of flink-connector-kafka, it emit the 
kafka record timestamp from source. Therefore, if Paimon wants to support the 
statistics of currentEmitEventTimeLag, it needs to provide a timestamp when 
data enters Paimon and emit it in the Flink source.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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