fix: GREEN - Fixed the restore-mechanism
authorKai Moritz <kai@juplo.de>
Thu, 22 Feb 2024 15:03:08 +0000 (16:03 +0100)
committerKai Moritz <kai@juplo.de>
Thu, 22 Feb 2024 15:52:24 +0000 (16:52 +0100)
commitdc53848961fd5622f777621fd4140cb01c2c8739
tree1e1fab90d850499fe9442d6f710571be9b36d2e5
parent803a9193c8b1ad1ec68f1818fc091291a60c8f4c
fix: GREEN - Fixed the restore-mechanism

* The code of a reactive flow _must not_ call blocking functions.
* In order to solve this, the restore-process is triggered explicitly
  after the creation of the classes.
src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/InMemoryChatMessageService.java
src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/InMemoryServicesConfiguration.java
src/main/java/de/juplo/kafka/chat/backend/implementation/inmemory/SimpleChatHomeService.java