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>
Sun, 15 Jan 2023 18:39:01 +0000 (19:39 +0100)
commit258f5620fcc83f36e77f2041edf0fb356678b25a
tree5a5c3ea1552dffe0673b65f68293d5a77d511d17
parent17cee1e6d3798abc8c672cbd2dee938e7b2f031b
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