From 624f1cc7c3051de649342f0e06daba797c9c8879 Mon Sep 17 00:00:00 2001 From: David Estes Date: Tue, 26 Nov 2024 20:12:38 -0700 Subject: [PATCH] chore: log current highwater mark when processing events this will tell us how far we've made it in addition to how many events we've had to process --- event-svc/src/event/ordering_task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event-svc/src/event/ordering_task.rs b/event-svc/src/event/ordering_task.rs index bce9dbdb..a50a7946 100644 --- a/event-svc/src/event/ordering_task.rs +++ b/event-svc/src/event/ordering_task.rs @@ -520,7 +520,7 @@ impl OrderingState { .await?; event_cnt += number_processed; if event_cnt % LOG_EVERY_N_ENTRIES < number_processed { - info!(count=%event_cnt, "Processed undelivered events"); + info!(count=%event_cnt, highwater=%new_hw, "Processed undelivered events"); } } if !found_something || found_everything {