import java.net.URI;
import java.nio.file.Paths;
+import java.time.Duration;
import java.util.logging.Level;
{
private String instanceId = "DEV";
private String allowedOrigins = "http://localhost:4200";
- private int chatroomBufferSize = 8;
+ private int chatroomBufferSize = 1024;
private ServiceType services = ServiceType.inmemory;
private InMemoryServicesProperties inmemory = new InMemoryServicesProperties();
private KafkaServicesProperties kafka = new KafkaServicesProperties();
private String infoChannelTopic = "info_channel";
private String dataChannelTopic = "data_channel";
private int numPartitions = 2;
+ private Duration pollingInterval = Duration.ofSeconds(1);
private String haproxyRuntimeApi = "haproxy:8401";
private String haproxyMap = "/usr/local/etc/haproxy/sharding.map";
}