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:
77cbd2b
)
Versendete Nachrichten an den neuen Kontrakt angepasst
author
Kai Moritz
<kai@juplo.de>
Mon, 15 Aug 2022 18:41:26 +0000
(20:41 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 3 Sep 2022 17:10:25 +0000
(19:10 +0200)
src/main/java/de/juplo/kafka/ApplicationRecordHandler.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ApplicationRecordHandler.java
b/src/main/java/de/juplo/kafka/ApplicationRecordHandler.java
index
a4b6a8f
..
eae009c
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationRecordHandler.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationRecordHandler.java
@@
-22,12
+22,11
@@
public class ApplicationRecordHandler implements RecordHandler<String, Integer>
String key = record.key();
int number = record.value();
- send(key, "START");
for (int i = 1; i <= number; i++)
{
send(key, Integer.toString(i));
}
- send(key, "
END
");
+ send(key, "
CALCULATE
");
}
private void send(String key, String value)