--- /dev/null
+package de.juplo.kafka.chat.backend.persistence.kafka;
+
+import de.juplo.kafka.chat.backend.domain.ChatHomeWithShardsTestBase;
+import org.springframework.boot.test.context.TestConfiguration;
+import org.springframework.context.annotation.Bean;
+
+
+public class KafkaChatHomeTest extends ChatHomeWithShardsTestBase
+{
+ @TestConfiguration
+ static class Configuration
+ {
+ @Bean
+ KafkaChatHome chatHome(ChatRoomChannel chatRoomChannel)
+ {
+ return new KafkaChatHome(numShards(), chatRoomChannel);
+ }
+
+ Integer numShards()
+ {
+ return 10;
+ }
+
+ }
+}