hachikuji commented on a change in pull request #8486: URL: https://github.com/apache/kafka/pull/8486#discussion_r434246402
########## File path: clients/src/main/java/org/apache/kafka/clients/consumer/OffsetOutOfRangeException.java ########## @@ -30,8 +30,9 @@ private static final long serialVersionUID = 1L; private final Map<TopicPartition, Long> offsetOutOfRangePartitions; - public OffsetOutOfRangeException(Map<TopicPartition, Long> offsetOutOfRangePartitions) { - super("Offsets out of range with no configured reset policy for partitions: " + offsetOutOfRangePartitions); + public OffsetOutOfRangeException(Map<TopicPartition, Long> offsetOutOfRangePartitions, String reason) { Review comment: We should probably make this an overload since this is a public API ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org