File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/com/michelin/ns4kafka/validation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ public class TopicValidator extends ResourceValidator {
5454 public static TopicValidator makeDefault () {
5555 return TopicValidator .builder ()
5656 .validationConstraints (Map .of (
57- "replication.factor" ,
57+ REPLICATION_FACTOR ,
5858 ResourceValidator .Range .between (3 , 3 ),
59- "partitions" ,
59+ PARTITIONS ,
6060 ResourceValidator .Range .between (3 , 6 ),
6161 "cleanup.policy" ,
6262 ResourceValidator .ValidList .in ("delete" , "compact" ),
@@ -84,9 +84,9 @@ public static TopicValidator makeDefault() {
8484 public static TopicValidator makeDefaultOneBroker () {
8585 return TopicValidator .builder ()
8686 .validationConstraints (Map .of (
87- "replication.factor" ,
87+ REPLICATION_FACTOR ,
8888 ResourceValidator .Range .between (1 , 1 ),
89- "partitions" ,
89+ PARTITIONS ,
9090 ResourceValidator .Range .between (3 , 6 ),
9191 "cleanup.policy" ,
9292 ResourceValidator .ValidList .in ("delete" , "compact" ),
You can’t perform that action at this time.
0 commit comments