static int slaveIdByUri(final URI uri) {
        final String slaveIdStr = URIUtils.parseParameters(uri, "UTF-8").get("slaveId");
        return StringUtils.isNotBlank(slaveIdStr) ? Integer.parseInt(slaveIdStr) : -1;
    }
@param id
@param data
           , meta://host:port or meta://host:port?slaveId=xx
metamorphosis-commons/src/main/java/com/taobao/metamorphosis/cluster/Broker.java