private static Admin createAdminClient(
        String bootstrapServers,
        Map<String, String> commonClientConf, Map<String, String> adminClientConf) {
        Properties props = new Properties();
        props.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);
        props.put(AdminClientConfig.REQUEST_TIMEOUT_MS_CONFIG, ADMIN_REQUEST_TIMEOUT);
        // first add common client config, and then admin client config to properties, possibly
        // over-writing default or common properties.
        addConfigsToProperties(props, commonClientConf, adminClientConf);
        return Admin.create(props);
    }
Returns list of existing, not internal, topics/partitions that match given pattern and
where partitions are in range [startPartition, endPartition]
@param adminClient     AdminClient
@param topicRegex      Topic regular expression to match
@return                List of topic names
@throws Throwable      If failed to get list of existing topics
trogdor/src/main/java/org/apache/kafka/trogdor/common/WorkerUtils.java