From 3eb821da06db8c624f20f1080dba70e00c7989a5 Mon Sep 17 00:00:00 2001 From: David Estes <5317198+dav1do@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:12:41 -0700 Subject: [PATCH] chore: log current highwater mark when processing events (#619) 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 {