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:
6f3bc4b
)
WIP
author
Kai Moritz
<kai@juplo.de>
Sat, 3 Jun 2023 10:14:10 +0000
(12:14 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 17 Jun 2023 12:43:14 +0000
(14:43 +0200)
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/ApplicationConfiguration.java
b/src/main/java/de/juplo/kafka/ApplicationConfiguration.java
index
ef3db82
..
7a0ee37
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
@@
-84,6
+84,7
@@
public class ApplicationConfiguration
Properties props = new Properties();
props.put("bootstrap.servers", properties.getBootstrapServer());
props.put("client.id", properties.getClientId());
+ props.put("transactional.id", properties.getClientId()); // TODO!
props.put("acks", properties.getAcks());
props.put("batch.size", properties.getBatchSize());
props.put("delivery.timeout.ms", 20000); // 20 Sekunden