From 4f77580393a03e5fc67a65b0471d8251f540e3c8 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Thu, 12 Oct 2023 14:56:44 +0200 Subject: [PATCH] sample: Enable fill-sequence-number-gaps --- .../iot-service-scala/src/main/resources/persistence.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/grpc/iot-service-scala/src/main/resources/persistence.conf b/samples/grpc/iot-service-scala/src/main/resources/persistence.conf index c83f56ae5..d67f12817 100644 --- a/samples/grpc/iot-service-scala/src/main/resources/persistence.conf +++ b/samples/grpc/iot-service-scala/src/main/resources/persistence.conf @@ -23,6 +23,10 @@ akka { password = ${?DB_PASSWORD} } } + + # Edge may omit sequence numbers, e.g. due to compaction. + # Such gaps will be handled as filtered events. + typed.event-writer.fill-sequence-number-gaps = on } projection.r2dbc {