From 03be96c4fa424bda1688555af294998d91e5da6b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 2 Nov 2022 18:55:06 +0100 Subject: [PATCH] WIP --- src/main/java/de/juplo/kafka/SimpleConsumer.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/de/juplo/kafka/SimpleConsumer.java b/src/main/java/de/juplo/kafka/SimpleConsumer.java index 72dc36e..49eca1a 100644 --- a/src/main/java/de/juplo/kafka/SimpleConsumer.java +++ b/src/main/java/de/juplo/kafka/SimpleConsumer.java @@ -31,7 +31,6 @@ public class SimpleConsumer implements Runnable { log.info("{} - Subscribing to topic test", id); consumer.subscribe(Arrays.asList(topic)); - running = true; while (true) { @@ -65,7 +64,6 @@ public class SimpleConsumer implements Runnable } finally { - running = false; log.info("{} - Closing the KafkaConsumer", id); consumer.close(); log.info("{}: Consumed {} messages in total, exiting!", id, consumed); -- 2.20.1