16:14:43,781 WARN org.apache.flink.streaming.api.functions.timestamps.AscendingTimestampExtractor - Timestamp monotony violated: -159096192 < 982926000
I used it
DataStream<Tuple3<String,String,Integer>> timedData = dataStream
.assignTimestampsAndWatermarks(new AscendingTimestampExtractor<Tuple3<String,String,Integer>>() {
@Override
public long extractAscendingTimestamp(Tuple3<String,String,Integer> s) {
return s.f2*1000;
}
});
The error content violates the monotonicity of timestamps. The timestamps passed in by the ascendingtimestampextractor method must be monotonous.
After checking the simulation data, it is found that some timestamps are not monotonic, resulting in error.
It’s a time stamp that is smaller than the previous time stamp. Please correct it.
And then I thought, will this problem occur when Kafka is used in the future?Forget it. Let’s talk about it later
Read More:
- How to solve the problem of error reporting in the introduction of Python Django no module name ‘Django. Utils. Six’
- The fastest way to solve the problem of error reporting from crypto.cipher import AES
- How to solve the problem of “blocked loading mixed active content” in Firefox
- Solve the problem of reporting errors when tsfresh downloads UCI har dataset
- How to solve the cross domain problem of Axios in Vue project
- How to solve the problem that the project module turns grey in Maven
- How to solve the problem of “version 11 or greater is required” in eclipse 2020
- solve log.info The problem of reporting error and red line
- How to solve the problem of “unable to open source file XXXXX. H” in VS development?
- How to solve the problem that the output results of C + + program written in VS2010 flash by
- How to solve the problem of failed installation of golang plug-in dependency in vscode under Windows
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs
- Threejs is used in Vue to introduce error reporting problem of orbitcontrols
- In many cases, the problem of error reporting by label in latex
- To solve the problem of failed to load: data in HTML5 game running rmmv locally/ actors.json problem
- Mistakes in learning Flink programming
- How to solve the problem that lightningchart is completely black
- How to solve the problem of syntax error: (Unicode error)’unicodescape ‘codec can’t decode bytes in position 2-3: truncat
- Solve the problem of dynamically applying for permission, but still reporting an error of open failed: eacces (permission denied)
- How to solve the problem of string to CString garbled code?