@Override
  public boolean equals(Object obj) {
    if (obj == null) return false;
    if (getClass() != obj.getClass()) return false;
    final ProcessorData other = (ProcessorData) obj;
    return Objects.equals(processorId, other.processorId) && Objects.equals(locationId, other.locationId);
  }
Represents processor data stored in zookeeper processors node.
samza-core/src/main/java/org/apache/samza/zk/ProcessorData.java