@Override
    public void validateOffsetFetch(
        String memberId,
        int memberEpoch,
        long lastCommittedOffset
    ) {
        throw new UnsupportedOperationException("validateOffsetFetch is not supported for Share Groups.");
    }
@Test
    public void testValidateOffsetFetch() {
        ShareGroup shareGroup = createShareGroup("group-foo");
        assertThrows(UnsupportedOperationException.class, () ->
            shareGroup.validateOffsetFetch(null, -1, -1));
    }