xijiu commented on PR #20168: URL: https://github.com/apache/kafka/pull/20168#issuecomment-3072209689
The all methods which depend on `Admin#listOffsets` are as follows: - offsetsUtils.resetToOffset - offsetsUtils.resetToEarliest - offsetsUtils.resetToLatest - offsetsUtils.resetByShiftBy - offsetsUtils.resetToDateTime - offsetsUtils.resetByDuration - offsetsUtils.resetFromFile - offsetsUtils.resetToCurrent And they are all called in method `ConsumerGroupCommand.ConsumerGroupService#prepareOffsetsToReset`, so we should add the check logic in this method. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org