@Override
        public boolean equals(Object o) {
            if (this == o)
                return true;
            if (o == null || getClass() != o.getClass())
                return false;
            CreatePartitionPolicy.RequestMetadata other = (CreatePartitionPolicy.RequestMetadata) o;
            return Objects.equals(replicas, other.replicas) &&
                Objects.equals(isrs, other.isrs);
        }
Create an instance of this class with the provided parameters.
<p>
This constructor is public to make testing of <code>CreatePartitionPolicy</code> implementations easier.

@param replicas replica assignments of the partition
@param isrs     in-sync replica assignments of the partition
metadata/src/main/java/org/apache/kafka/controller/es/CreatePartitionPolicy.java