fix: Fixed a NPE in `ShardedChatHome.getChatRooms()`
authorKai Moritz <kai@juplo.de>
Sat, 14 Jan 2023 17:09:46 +0000 (18:09 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 25 Jan 2023 21:01:47 +0000 (22:01 +0100)
commitdaca33d027e4c0d036fc2aa7c3d9b2120f3ad98a
treed9aef9dab6bbacedf77cea3da8dd16378307e224
parent6eb03cbe4609eea0b7061b574a7e273ecd0c9813
fix: Fixed a NPE in `ShardedChatHome.getChatRooms()`

- When collecting the `ChatRoom`s for all shards, unused shards with a
  `null` value were not skipped.
- Also added log-messages of level `INFO` for the creation of `ChatRoom`,
  `SimpleChatHome` and `ShardedChatHome`.
src/main/java/de/juplo/kafka/chat/backend/domain/ChatRoom.java
src/main/java/de/juplo/kafka/chat/backend/domain/ShardedChatHome.java
src/main/java/de/juplo/kafka/chat/backend/domain/SimpleChatHome.java
src/test/java/de/juplo/kafka/chat/backend/AbstractConfigurationIT.java