File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
api/src/main/java/io/kafbat/ui/config Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 44import jakarta .annotation .PostConstruct ;
55import jakarta .validation .Valid ;
66import jakarta .validation .constraints .NotBlank ;
7- import jakarta .validation .constraints .NotEmpty ;
87import jakarta .validation .constraints .NotNull ;
98import java .util .ArrayList ;
109import java .util .HashMap ;
@@ -68,7 +67,7 @@ public static class Cluster {
6867
6968 List <@ Valid Masking > masking ;
7069
71- @ Valid AuditProperties audit ;
70+ AuditProperties audit ;
7271 }
7372
7473 @ Data
@@ -134,9 +133,7 @@ public static class KeystoreConfig {
134133 public static class SerdeConfig {
135134 @ NotBlank
136135 String name ;
137- @ NotBlank
138136 String className ;
139- @ NotBlank
140137 String filePath ;
141138 Map <String , Object > properties ;
142139 String topicKeysPattern ;
@@ -170,13 +167,11 @@ public enum Type {
170167 @ NoArgsConstructor
171168 @ AllArgsConstructor
172169 public static class AuditProperties {
173- @ NotBlank
174170 String topic ;
175171 Integer auditTopicsPartitions ;
176172 Boolean topicAuditEnabled ;
177173 Boolean consoleAuditEnabled ;
178- @ NotNull
179- LogLevel level ;
174+ LogLevel level = LogLevel .ALTER_ONLY ;
180175 Map <String , String > auditTopicProperties ;
181176
182177 public enum LogLevel {
You can’t perform that action at this time.
0 commit comments