Skip to content

Commit

Permalink
[hotfix][connector/common] Fix typo of variable in SourceOperator
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickRen authored and AHeise committed Mar 15, 2022
1 parent 092647c commit c81fff6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ private enum OperatingMode {
private CompletableFuture<Void> waitingForAlignmentFuture =
CompletableFuture.completedFuture(null);

private @Nullable LatencyMarkerEmitter<OUT> latencyMarerEmitter;
private @Nullable LatencyMarkerEmitter<OUT> latencyMarkerEmitter;

public SourceOperator(
FunctionWithException<SourceReaderContext, SourceReader<OUT, SplitT>, Exception>
Expand Down Expand Up @@ -334,8 +334,8 @@ private void stopInternalServices() {
if (eventTimeLogic != null) {
eventTimeLogic.stopPeriodicWatermarkEmits();
}
if (latencyMarerEmitter != null) {
latencyMarerEmitter.close();
if (latencyMarkerEmitter != null) {
latencyMarkerEmitter.close();
}
}

Expand Down Expand Up @@ -433,7 +433,7 @@ private void initializeLatencyMarkerEmitter(DataOutput<OUT> output) {
.getConfiguration()
.getLong(MetricOptions.LATENCY_INTERVAL);
if (latencyTrackingInterval > 0) {
latencyMarerEmitter =
latencyMarkerEmitter =
new LatencyMarkerEmitter<>(
getProcessingTimeService(),
output::emitLatencyMarker,
Expand Down

0 comments on commit c81fff6

Please sign in to comment.