@Override
  public int hashCode() {
    return Objects.hashCode(type, id);
  }
Gets the id of the fault domain, for example: rack ID.
@return fault domain ID
samza-core/src/main/java/org/apache/samza/clustermanager/FaultDomain.java