projects
/
demos
/
kafka
/
chat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c259051
)
WIP
author
Kai Moritz
<kai@juplo.de>
Sat, 16 Sep 2023 19:58:30 +0000
(21:58 +0200)
committer
Kai Moritz
<kai@juplo.de>
Sat, 16 Sep 2023 19:58:30 +0000
(21:58 +0200)
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaChatHomeService.java
patch
|
blob
|
history
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java
patch
|
blob
|
history
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaChatHomeService.java
b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaChatHomeService.java
index
2984d8c
..
9409716
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaChatHomeService.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaChatHomeService.java
@@
-64,7
+64,7
@@
public class KafkaChatHomeService implements ChatHomeService
@Override
public Mono<String[]> getShardOwners()
{
- infoChannel.getShardOwners();
+
return
infoChannel.getShardOwners();
}
int selectShard(UUID chatRoomId)
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java
b/src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java
index
784ffa5
..
7795516
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java
@@
-124,7
+124,8
@@
public class KafkaServicesConfiguration
return new InfoChannel(
properties.getKafka().getInfoChannelTopic(),
producer,
- infoChannelConsumer);
+ infoChannelConsumer,
+ properties.getKafka().getInstanceUri());
}
@Bean