Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/trunk' into KAFKA-12690-NOTE
Browse files Browse the repository at this point in the history
  • Loading branch information
Rancho-7 committed Nov 23, 2024
2 parents f304c28 + b04a498 commit bc3a34f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ private void throwIfInvalidGroupMetadata(ConsumerGroupMetadata groupMetadata) {
throw new IllegalArgumentException("Consumer group metadata could not be null");
} else if (groupMetadata.generationId() > 0
&& JoinGroupRequest.UNKNOWN_MEMBER_ID.equals(groupMetadata.memberId())) {
throw new IllegalArgumentException("Passed in group metadata " + groupMetadata + " has generationId > 0 but member.id ");
throw new IllegalArgumentException("Passed in group metadata " + groupMetadata + " has generationId > 0 but the member.id is unknown");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ record = partitionGroup.nextRecord(recordInfo, wallClockTime);

// after processing this record, if its partition queue's buffered size has been
// decreased to the threshold, we can then resume the consumption on this partition
if (recordInfo.queue().size() == maxBufferedSize) {
if (recordInfo.queue().size() <= maxBufferedSize) {
partitionsToResume.add(partition);
}

Expand Down

0 comments on commit bc3a34f

Please sign in to comment.