WIP
authorKai Moritz <kai@juplo.de>
Sun, 20 Aug 2023 08:47:54 +0000 (10:47 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 20 Aug 2023 08:47:54 +0000 (10:47 +0200)
src/main/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeService.java

index a67d629..ce1a72e 100644 (file)
@@ -63,15 +63,6 @@ public class KafkaChatHomeService implements ChatHomeService
     return Mono.justOrEmpty(chatrooms[shard].get(id));
   }
 
-  @Override
-  public int[] getOwnedShards()
-  {
-    return IntStream
-        .range(0, chatrooms.length)
-        .filter(i -> chatrooms[i] != null)
-        .toArray();
-  }
-
   @Override
   public Flux<ChatRoom> getChatRooms(int shard)
   {