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:
e6b4f98
)
Hinweis auf Offset-Commit entfernt
author
Kai Moritz
<kai@juplo.de>
Tue, 23 May 2023 19:21:25 +0000
(21:21 +0200)
committer
Kai Moritz
<kai@juplo.de>
Tue, 23 May 2023 19:39:07 +0000
(21:39 +0200)
src/main/java/de/juplo/kafka/SimpleConsumer.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/SimpleConsumer.java
b/src/main/java/de/juplo/kafka/SimpleConsumer.java
index
eaa9566
..
ca8d1db
100644
(file)
--- a/
src/main/java/de/juplo/kafka/SimpleConsumer.java
+++ b/
src/main/java/de/juplo/kafka/SimpleConsumer.java
@@
-29,7
+29,7
@@
public class SimpleConsumer
// tag::create[]
Properties props = new Properties();
props.put("bootstrap.servers", ":9092");
- props.put("group.id", "my-consumer"); // << Used for Offset-
Commits
+ props.put("group.id", "my-consumer"); // << Used for Offset-
Management
// end::create[]
props.put("auto.offset.reset", "earliest");
// tag::create[]