fix: `ChatBackendApplicationTest` cannot corrupt the real data anymore
[demos/kafka/chat] / src / main / java / de / juplo / kafka / chat / backend / ChatBackendProperties.java
1 package de.juplo.kafka.chat.backend;
2
3 import lombok.Getter;
4 import lombok.Setter;
5 import org.springframework.boot.context.properties.ConfigurationProperties;
6
7 import java.nio.file.Paths;
8
9
10 @ConfigurationProperties("chat.backend")
11 @Getter
12 @Setter
13 public class ChatBackendProperties
14 {
15   private String storageDirectory = Paths.get(System.getProperty("java.io.tmpdir"),"chat", "backend").toString();
16   private String allowedOrigins = "http://localhost:4200";
17   private int chatroomBufferSize = 8;
18 }