WIP
authorKai Moritz <kai@juplo.de>
Mon, 23 Jan 2023 17:05:26 +0000 (18:05 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 25 Jan 2023 17:52:12 +0000 (18:52 +0100)
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeService.java

index b344a68..4a87d31 100644 (file)
@@ -51,6 +51,7 @@ public class KafkaChatHomeService implements ChatHomeService, ConsumerRebalanceL
       long unseenOffset = offsets[partition];
 
       log.info("Reading partition {} from {} -> {}", partition, unseenOffset, currentOffset);
+      consumer.seek(tp, unseenOffset);
     });
   }