refactor: Introduced `ChannelMediator`
authorKai Moritz <kai@juplo.de>
Wed, 28 Feb 2024 10:14:32 +0000 (11:14 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 28 Feb 2024 10:14:32 +0000 (11:14 +0100)
commit300fb309b42aefecd475a75c946958e9b9316f7e
treefb856c5957bc03a3b0a363fcdc6190ef6bb8dd0e
parentf62fc04de07b8088b90defebdb8fdf1319b9e66a
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