refactor: Introduced `ChannelMediator`
authorKai Moritz <kai@juplo.de>
Wed, 28 Feb 2024 10:14:32 +0000 (11:14 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 22 Mar 2024 10:30:09 +0000 (11:30 +0100)
commitb1da0ca0f149cbff67962d05193048a17bd6ee4f
tree70ffdf68e562d91d7082bddec123daaead075dd4
parent84ac08c566270986e8de41785d0c62eac3eba7b6
refactor: Introduced `ChannelMediator`

* `InfoChannel` and `DataChannel` must not know each other directly.
* This is necessary, to prevent a cyclic dependency, that would otherwise
  be introduced, if `InfoChannel` also has to communicate with
  `DataChannel`.
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/ChannelMediator.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/DataChannel.java
src/main/java/de/juplo/kafka/chat/backend/implementation/kafka/KafkaServicesConfiguration.java