projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: Reintroduced `ChatRoom.shard`, becaus it is needed as a routing-hint
[demos/kafka/chat]
/
src
/
test
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
persistence
/
InMemoryWithFilesStorageIT.java
diff --git
a/src/test/java/de/juplo/kafka/chat/backend/persistence/InMemoryWithFilesStorageIT.java
b/src/test/java/de/juplo/kafka/chat/backend/persistence/InMemoryWithFilesStorageIT.java
index
d6909df
..
fe7ecac
100644
(file)
--- a/
src/test/java/de/juplo/kafka/chat/backend/persistence/InMemoryWithFilesStorageIT.java
+++ b/
src/test/java/de/juplo/kafka/chat/backend/persistence/InMemoryWithFilesStorageIT.java
@@
-41,6
+41,7
@@
public class InMemoryWithFilesStorageIT extends AbstractStorageStrategyIT
path,
clock,
8,
path,
clock,
8,
+ chatRoomId -> 0,
messageFlux -> new InMemoryChatRoomService(messageFlux),
mapper);
}
messageFlux -> new InMemoryChatRoomService(messageFlux),
mapper);
}
@@
-56,7
+57,6
@@
public class InMemoryWithFilesStorageIT extends AbstractStorageStrategyIT
protected Supplier<ChatHomeService> getChatHomeServiceSupplier()
{
return () -> new InMemoryChatHomeService(
protected Supplier<ChatHomeService> getChatHomeServiceSupplier()
{
return () -> new InMemoryChatHomeService(
- chatRoomId -> 0,
1,
new int[] { 0 },
getStorageStrategy().read());
1,
new int[] { 0 },
getStorageStrategy().read());