public static StopReplicaRequest parse(ByteBuffer buffer, short version) {
        return new StopReplicaRequest(new StopReplicaRequestData(new ByteBufferAccessor(buffer), version), version);
    }
Note that this method has allocation overhead per iterated element, so callers should copy the result into
another collection if they need to iterate more than once.

Implementation note: we should strive to avoid allocation overhead per element, see
`UpdateMetadataRequest.partitionStates()` for the preferred approach. That's not possible in this case and
StopReplicaRequest should be relatively rare in comparison to other request types.
clients/src/main/java/org/apache/kafka/common/requests/StopReplicaRequest.java