WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN
[demos/kafka/chat] / src / test / java / de / juplo / kafka / chat / backend / implementation / inmemory / ShardedChatHomeServiceTest.java
1 package de.juplo.kafka.chat.backend.implementation.inmemory;
2
3 import de.juplo.kafka.chat.backend.domain.ChatHomeServiceWithShardsTest;
4 import org.springframework.test.context.TestPropertySource;
5
6 import static de.juplo.kafka.chat.backend.domain.ChatHomeServiceWithShardsTest.NUM_SHARDS;
7 import static de.juplo.kafka.chat.backend.domain.ChatHomeServiceWithShardsTest.OWNED_SHARD;
8
9
10 @TestPropertySource(properties = {
11     "chat.backend.inmemory.sharding-strategy=kafkalike",
12     "chat.backend.inmemory.num-shards=" + NUM_SHARDS,
13     "chat.backend.inmemory.owned-shards=" + OWNED_SHARD,
14     "chat.backend.inmemory.storage-strategy=files",
15     "chat.backend.inmemory.storage-directory=target/test-classes/data/files" })
16 public class ShardedChatHomeServiceTest extends ChatHomeServiceWithShardsTest
17 {
18 }