public NewTopicBuilder partitions(int numPartitions) {
            this.numPartitions = numPartitions;
            return this;
        }
Specify the desired number of partitions for the topic.

@param numPartitions the desired number of partitions; must be positive, or -1 to
                     signify using the broker's default
@return this builder to allow methods to be chained; never null
connect/runtime/src/main/java/org/apache/kafka/connect/util/TopicAdmin.java