squah-confluent commented on PR #19678: URL: https://github.com/apache/kafka/pull/19678#issuecomment-2876233084
@FrankYang0529 We don't create ranges like that anywhere right now. I think it's easy to do by accident when working with ranges in general. I had a look around at what other range implementations do and it's a mix. Some allow to < from and others throw an exception. So I think either way is reasonable. Since we don't have a use for ranges like that currently, I will disallow it in the constructor. -- 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