static String parseIdFromPath(String path) {
    if (!Strings.isNullOrEmpty(path))
      return path.substring(path.lastIndexOf("/") + 1);
    return null;
  }
Static method that helps parse the processorId substring from the ZK path

Processor ID is prefixed by "processor-" and is an leaf node in ZK tree. Hence, this pattern is used to extract
the processorId.

@param path Full ZK path of a registered processor
@return String representing the processor ID
samza-core/src/main/java/org/apache/samza/zk/ZkKeyBuilder.java