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 sink is recreated, if it gets canceled
[demos/kafka/chat]
/
src
/
main
/
java
/
de
/
juplo
/
kafka
/
chat
/
backend
/
ChatBackendConfiguration.java
diff --git
a/src/main/java/de/juplo/kafka/chat/backend/ChatBackendConfiguration.java
b/src/main/java/de/juplo/kafka/chat/backend/ChatBackendConfiguration.java
index
aea5f8e
..
adabb92
100644
(file)
--- a/
src/main/java/de/juplo/kafka/chat/backend/ChatBackendConfiguration.java
+++ b/
src/main/java/de/juplo/kafka/chat/backend/ChatBackendConfiguration.java
@@
-41,9
+41,9
@@
public class ChatBackendConfiguration
}
@Bean
- ChatroomFactory chatroomFactory()
+ ChatroomFactory chatroomFactory(
ChatBackendProperties properties
)
{
- return new InMemoryChatroomFactory();
+ return new InMemoryChatroomFactory(
properties.getChatroomBufferSize()
);
}
@Bean