public String getInstanceName(String path) {
    // Instance name is the path after /DataNodeConfigs/
    return path.substring(path.lastIndexOf(ZNODE_PATH_SEPARATOR) + 1);
  }
Get the name of instance
@param path path to ZNode
@return the name of instance
ambry-clustermap/src/main/java/com/github/ambry/clustermap/PropertyStoreToDataNodeConfigAdapter.java