Skip to content

Commit

Permalink
[server] tweak heartbeat reporting to use completion check (#1207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacAttack authored Sep 30, 2024
1 parent b932806 commit 6057b1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2146,15 +2146,15 @@ protected void recordHeartbeatReceived(
partitionConsumptionState.getPartition(),
serverConfig.getKafkaClusterUrlToAliasMap().get(kafkaUrl),
consumerRecord.getValue().producerMetadata.messageTimestamp,
partitionConsumptionState.isWaitingForReplicationLag());
partitionConsumptionState.isComplete());
} else {
heartbeatMonitoringService.recordFollowerHeartbeat(
storeName,
versionNumber,
partitionConsumptionState.getPartition(),
serverConfig.getKafkaClusterUrlToAliasMap().get(kafkaUrl),
consumerRecord.getValue().producerMetadata.messageTimestamp,
partitionConsumptionState.isWaitingForReplicationLag());
partitionConsumptionState.isComplete());
}
}

Expand Down

0 comments on commit 6057b1f

Please sign in to comment.