private int findStartSearchIndex(long startObjectId, List<S3StreamSetObject> streamSetObjects) {
        for (int i = 0; i < streamSetObjects.size(); i++) {
            S3StreamSetObject sso = streamSetObjects.get(i);
            if (Objects.equals(sso.objectId(), startObjectId)) {
                return i;
            }
        }
        return -1;
    }
Check for continuity of stream range and range matching.
Note: insufficient range is possible and caller should retry after
metadata/src/main/java/org/apache/kafka/image/S3StreamsMetadataImage.java