...
- It will first perform the existing hardcoded request parameters validation (
numPartitions
andreplicationFactor
cannot be used at the same time asreplicaAssignments)
followed byCreateTopicPolicy.
validate
(if defined). - If validation fails, the
INVALIDPOLICY_REQUEST VIOLATION
error code and error message will be added to the response (for this topic). Note that the error message will only be included if the request version is greater than or equal to 1. - If validation succeeds and
validateOnly
is true, we return the NONE error code for the topic without attempting topic creation. IfvalidateOnly
is false, topic creation will be attempted as usual.
...