jsancio commented on code in PR #15671:
URL: https://github.com/apache/kafka/pull/15671#discussion_r1580152614


##########
clients/src/main/java/org/apache/kafka/common/feature/BaseVersionRange.java:
##########
@@ -26,7 +26,7 @@
 /**
  * Represents an immutable basic version range using 2 attributes: min and 
max, each of type short.
  * The min and max attributes need to satisfy 2 rules:
- *  - they are each expected to be >= 1, as we only consider positive version 
values to be valid.

Review Comment:
   Yes. I think this was missed during the original implementation. The default 
value for any feature version is 0 but that cannot be expressed in the range of 
supported versions since it doesn't allow 0 as the min or max value.



-- 
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

Reply via email to