@Override
    public int getMinActiveReplicas(PartitionId partitionId) {
      try {
        String partitionIdString = partitionId.toPathString();
        String resource = getResourceForPartitionInLocalDc(partitionIdString).iterator().next();
        String tag = dcToResourceNameToTag.get(clusterMapConfig.clusterMapDatacenterName).get(resource);
        ResourceProperty resourceProperty  =
            dcToTagToResourceProperty.get(clusterMapConfig.clusterMapDatacenterName).get(tag);
        return resourceProperty.minActiveReplicas;
      } catch (Exception e) {
        return DEFAULT_NUM_REPLICAS - 1;
      }
    }
MIN_ACTIVE_REPLICA configuration is defined at resource level in Helix
@return the MIN_ACTIVE_REPLICA configuration for this resource/partition.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixClusterManager.java