THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
1) Add RecordAttributesBuilder and RecordAttributes that extends RuntimeEvent to StreamElement to provide operator with essential information about the records they receive, such as whether the records are already stale due to backlog.
...
Code Block | ||
---|---|---|
| ||
/** * A RecordAttributes element provides stream task with information that can be used to optimize * the stream task's performance. */ @Experimental public class RecordAttributes extends RuntimeEventStreamElement { /** * If it returns true, then the records received after this element are stale * and an operator can optionally buffer records until isBacklog=false. This * allows an operator to optimize throughput at the cost of processing latency. */ @Nullable public Boolean isBacklog() {...} } |
...