WIP
authorKai Moritz <kai@juplo.de>
Sat, 3 Jun 2023 10:14:10 +0000 (12:14 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 17 Jun 2023 12:43:14 +0000 (14:43 +0200)
src/main/java/de/juplo/kafka/ApplicationConfiguration.java

index ef3db82..7a0ee37 100644 (file)
@@ -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