From 14ddf90be0adbeb8ab34b516b9b158071ae491e4 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 20 Aug 2022 18:13:50 +0200 Subject: [PATCH] =?utf8?q?Log-Meldung=20f=C3=BCr=20durchgef=C3=BChrte=20Be?= =?utf8?q?rechnungen=20bei=20Revoke=20korrigiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../java/de/juplo/kafka/ApplicationRebalanceListener.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/de/juplo/kafka/ApplicationRebalanceListener.java b/src/main/java/de/juplo/kafka/ApplicationRebalanceListener.java index 32e14e8..6776c0d 100644 --- a/src/main/java/de/juplo/kafka/ApplicationRebalanceListener.java +++ b/src/main/java/de/juplo/kafka/ApplicationRebalanceListener.java @@ -51,14 +51,14 @@ public class ApplicationRebalanceListener implements PollIntervalAwareConsumerRe log.info("{} - removing partition: {}", id, partition); this.partitions.remove(partition); Map state = recordHandler.removePartition(partition); - for (String key : state.keySet()) + for (String user : state.keySet()) { log.info( - "{} - Seen {} messages for partition={}|key={}", + "{} - Calculations for partition={}|user={}: {}", id, - state.get(key), partition, - key); + user, + state.get(user)); } Map> results = adderResults.removePartition(partition); stateRepository.save(new StateDocument(partition, state, results)); -- 2.20.1