Skip to content

Commit

Permalink
Added ValidateOnly to CreatePartitionsRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
doxsch authored Jul 27, 2021
1 parent 70416ae commit b231d1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ func (ca *clusterAdmin) CreatePartitions(topic string, count int32, assignment [
request := &CreatePartitionsRequest{
TopicPartitions: topicPartitions,
Timeout: ca.conf.Admin.Timeout,
ValidateOnly: validateOnly,
}

return ca.retryOnError(isErrNoController, func() error {
Expand Down

0 comments on commit b231d1b

Please sign in to comment.