public FaultDomainType getType() {
    return type;
  }
Gets the type of fault domain, for example: rack.
@return Type of fault domain
samza-core/src/main/java/org/apache/samza/clustermanager/FaultDomain.java