@Override
  public PartitionId getPartitionIdByName(String partitionIdStr) {
    byte[] partitionBytes =
        ClusterMapUtils.serializeShortAndLong(AmbryPartition.CURRENT_VERSION, Long.parseLong(partitionIdStr));
    try {
      return getPartitionIdFromStream(new ByteBufferInputStream(ByteBuffer.wrap(partitionBytes)));
    } catch (IOException e) {
      return null;
    }
  }
Return if ssl ports are enabled in this cluster.
ambry-test-utils/src/main/java/com/github/ambry/clustermap/MockClusterMap.java