public void createTopics(int numPartitions,int replicationFactor,Set<String> topics){
  createTopics(numPartitions,replicationFactor,topics.toArray(new String[topics.size()]));
}

public void createTopics ( int numPartitions , int replicationFactor , Set < String > topics ) { createTopics ( numPartitions , replicationFactor , topics . toArray ( new String [ topics . size ( ) ] ) ) ; }
create the specified topics .
