feat: Implemented new Default-`StorageStrategy` `none'
[demos/kafka/chat] / src / main / java / de / juplo / kafka / chat / backend / ChatBackendProperties.java
index 177d4f5..def9de1 100644 (file)
@@ -25,11 +25,11 @@ public class ChatBackendProperties
     private ShardingStrategyType shardingStrategy = ShardingStrategyType.none;
     private int numShards = 1;
     private int[] ownedShards = new int[] { 0 };
-    private StorageStrategyType storageStrategy = StorageStrategyType.files;
+    private StorageStrategyType storageStrategy = StorageStrategyType.none;
     private String storageDirectory = Paths.get(System.getProperty("java.io.tmpdir"),"chat", "backend").toString();
   }
 
   public enum ServiceType { inmemory }
-  public enum StorageStrategyType { files, mongodb }
+  public enum StorageStrategyType { none, files, mongodb }
   public enum ShardingStrategyType { none, kafkalike }
 }