rreddy-22 commented on code in PR #14467: URL: https://github.com/apache/kafka/pull/14467#discussion_r1353831281
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/consumer/ConsumerGroup.java: ########## @@ -635,6 +639,21 @@ public void createGroupTombstoneRecords(List<Record> records) { records.add(RecordHelpers.newGroupEpochTombstoneRecord(groupId())); } + @Override + public boolean isEmpty() { + return state() == ConsumerGroupState.EMPTY; + } + + /** + * See {@link org.apache.kafka.coordinator.group.OffsetExpirationCondition} + * + * @return The offset expiration condition for the group or Empty of no such condition exists. Review Comment: nit: if* -- 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