projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: The actual position has to be requested from the consumer
[demos/kafka/chat]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
api
/
ChatBackendController.java
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/api/ChatBackendController.java
b/src/main/java/de/juplo/kafka/chat/backend/api/ChatBackendController.java
index
529be8d
..
f3efe79
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/api/ChatBackendController.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/api/ChatBackendController.java
@@
-128,6
+128,12
@@
public class ChatBackendController
.build());
}
.build());
}
+ @GetMapping("/shards")
+ public Mono<String[]> getShardOwners()
+ {
+ return chatHomeService.getShardOwners();
+ }
+
@PostMapping("/store")
public void store()
{
@PostMapping("/store")
public void store()
{