Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ public Builder setInputTSDataFromJSON(
if (advanceWatermark_expression == AdvanceWatermarkExpression.INFINITY) {
testStream = stream.advanceWatermarkToInfinity();
}
break;
case ADVANCE_PROCESSING_TIME_SECONDS:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the other use case we need is to advance the watermark but then have a event that has timestamp > than the watermark.

For example:

event{timestamp: 1}
advanceWaterMark timestamp: 3
event{timestamp: 2}

stream =
stream.advanceProcessingTime(
Duration.standardSeconds(
tsTimePointTestBuilder.getTime().getAdvanceProcessingTimeSeconds()));
break;
}
}
tsTimePointTestBuilder.clear();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ message Time {

int32 advance_watermark_seconds = 2;

int32 advance_processing_timeSeconds = 3;
int32 advance_processing_time_seconds = 3;
}
}

Expand Down