TaiJuWu commented on code in PR #21491:
URL: https://github.com/apache/kafka/pull/21491#discussion_r2820650750


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupConfig.java:
##########
@@ -259,6 +271,14 @@ private static void validateValues(Map<?, ?> valueMaps, 
GroupCoordinatorConfig g
             throw new 
InvalidConfigurationException(SHARE_RECORD_LOCK_DURATION_MS_CONFIG + " must be 
less than or equal to " +
                 
ShareGroupConfig.SHARE_GROUP_MAX_RECORD_LOCK_DURATION_MS_CONFIG);
         }
+        if (shareDeliveryCountLimit < 
shareGroupConfig.shareGroupMinDeliveryCountLimit()) {
+            throw new 
InvalidConfigurationException(SHARE_DELIVERY_COUNT_LIMIT_CONFIG + " must be 
greater than or equal to " +
+                    
ShareGroupConfig.SHARE_GROUP_MIN_DELIVERY_COUNT_LIMIT_CONFIG);
+        }
+        if (shareDeliveryCountLimit > 
shareGroupConfig.shareGroupMaxDeliveryCountLimit()) {
+            throw new 
InvalidConfigurationException(SHARE_DELIVERY_COUNT_LIMIT_CONFIG + " must be 
greater than or equal to " +

Review Comment:
   Fixed it.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to