projects
/
demos
/
kafka
/
chat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: GREEN - `ChatRoomData` obeys to the added expectations.
[demos/kafka/chat]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
implementation
/
inmemory
/
InMemoryServicesConfiguration.java
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/InMemoryServicesConfiguration.java
b/src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/InMemoryServicesConfiguration.java
index
3f3d888
..
43973ae
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/InMemoryServicesConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/InMemoryServicesConfiguration.java
@@
-33,7
+33,7
@@
public class InMemoryServicesConfiguration
{
SimpleChatHomeService chatHomeService = new SimpleChatHomeService(
clock,
{
SimpleChatHomeService chatHomeService = new SimpleChatHomeService(
clock,
- properties.getChatroom
BufferSize
());
+ properties.getChatroom
HistoryLimit
());
chatHomeService.restore(storageStrategy).block();
return chatHomeService;
}
chatHomeService.restore(storageStrategy).block();
return chatHomeService;
}
@@
-57,7
+57,7
@@
public class InMemoryServicesConfiguration
SimpleChatHomeService service = chatHomes[shard] = new SimpleChatHomeService(
shard,
clock,
SimpleChatHomeService service = chatHomes[shard] = new SimpleChatHomeService(
shard,
clock,
- properties.getChatroom
BufferSize
());
+ properties.getChatroom
HistoryLimit
());
service.restore(storageStrategy).block();
});
ShardingStrategy strategy = new KafkaLikeShardingStrategy(numShards);
service.restore(storageStrategy).block();
});
ShardingStrategy strategy = new KafkaLikeShardingStrategy(numShards);