private String allowedOrigins = "http://localhost:4200";
private int chatroomBufferSize = 8;
private ServiceType services = ServiceType.inmemory;
private InMemoryServicesProperties inmemory = new InMemoryServicesProperties();
private KafkaServicesProperties kafka = new KafkaServicesProperties();
private String allowedOrigins = "http://localhost:4200";
private int chatroomBufferSize = 8;
private ServiceType services = ServiceType.inmemory;
private InMemoryServicesProperties inmemory = new InMemoryServicesProperties();
private KafkaServicesProperties kafka = new KafkaServicesProperties();
{
private ShardingStrategyType shardingStrategy = ShardingStrategyType.none;
private int numShards = 1;
{
private ShardingStrategyType shardingStrategy = ShardingStrategyType.none;
private int numShards = 1;
private StorageStrategyType storageStrategy = StorageStrategyType.none;
private String storageDirectory = Paths.get(System.getProperty("java.io.tmpdir"),"chat", "backend").toString();
}
private StorageStrategyType storageStrategy = StorageStrategyType.none;
private String storageDirectory = Paths.get(System.getProperty("java.io.tmpdir"),"chat", "backend").toString();
}
private String clientIdPrefix = "DEV";
private String bootstrapServers = ":9092";
private String infoChannelTopic = "info_channel";
private String dataChannelTopic = "data_channel";
private int numPartitions = 2;
private String clientIdPrefix = "DEV";
private String bootstrapServers = ":9092";
private String infoChannelTopic = "info_channel";
private String dataChannelTopic = "data_channel";
private int numPartitions = 2;
public enum ServiceType { inmemory, kafka }
public enum StorageStrategyType { none, files, mongodb }
public enum ShardingStrategyType { none, kafkalike }
public enum ServiceType { inmemory, kafka }
public enum StorageStrategyType { none, files, mongodb }
public enum ShardingStrategyType { none, kafkalike }