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:
d675a67
)
Auf den `CooperativeStickyAssignor` umgestellt
author
Kai Moritz
<kai@juplo.de>
Sun, 24 Jul 2022 17:32:51 +0000
(19:32 +0200)
committer
Kai Moritz
<kai@juplo.de>
Fri, 12 Aug 2022 14:44:56 +0000
(16:44 +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
7a24c97
..
9b06b09
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
@@
-60,6
+60,7
@@
public class ApplicationConfiguration
Properties props = new Properties();
props.put("bootstrap.servers", properties.getBootstrapServer());
+ props.put("partition.assignment.strategy", "org.apache.kafka.clients.consumer.CooperativeStickyAssignor");
props.put("group.id", properties.getGroupId());
props.put("client.id", properties.getClientId());
props.put("enable.auto.commit", false);