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:
d5d22ba
)
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>
Sun, 24 Jul 2022 18:30:43 +0000
(20:30 +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
87d073e
..
08c3955
100644
(file)
--- a/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/ApplicationConfiguration.java
@@
-59,6
+59,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);