projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3227c2f
)
WIP
author
Kai Moritz
<kai@juplo.de>
Sat, 2 Nov 2024 21:02:13 +0000
(22:02 +0100)
committer
Kai Moritz
<kai@juplo.de>
Sat, 9 Nov 2024 15:49:53 +0000
(16:49 +0100)
src/main/java/de/juplo/kafka/ExampleConsumer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ExampleConsumer.java
b/src/main/java/de/juplo/kafka/ExampleConsumer.java
index
b60ec37
..
0fbddc8
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ExampleConsumer.java
+++ b/
src/main/java/de/juplo/kafka/ExampleConsumer.java
@@
-168,11
+168,6
@@
public class ExampleConsumer implements Runnable, ConsumerRebalanceListener
consumer.close();
log.info("{}: Consumed {} messages in total, exiting!", id, consumed);
}
-
- log.info("{} - Final commit for transaction", id);
- producer.commitTransaction();
- log.info("{} - Closing the producer", id);
- producer.close();
}
private void commitIfNecessary()