Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
This commit is contained in:
parent
8f0ffe665c
commit
98257b2b5f
1 changed files with 3 additions and 0 deletions
|
@ -55,16 +55,19 @@ export const topicFormValidationSchema = yup.object().shape({
|
|||
partitions: yup
|
||||
.number()
|
||||
.min(1)
|
||||
.max(2147483647)
|
||||
.required()
|
||||
.typeError('Number of partitions is required and must be a number'),
|
||||
replicationFactor: yup
|
||||
.number()
|
||||
.min(1)
|
||||
.max(2147483647)
|
||||
.required()
|
||||
.typeError('Replication factor is required and must be a number'),
|
||||
minInSyncReplicas: yup
|
||||
.number()
|
||||
.min(1)
|
||||
.max(2147483647)
|
||||
.required()
|
||||
.typeError('Min in sync replicas is required and must be a number'),
|
||||
cleanupPolicy: yup.string().required(),
|
||||
|
|
Loading…
Add table
Reference in a new issue