mjsax commented on code in PR #20600:
URL: https://github.com/apache/kafka/pull/20600#discussion_r2418281856


##########
group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupMetadataManagerTest.java:
##########
@@ -16792,7 +16894,7 @@ public void 
testStreamsGroupMemberRequestingShutdownApplicationUponLeaving() {
                 
StreamsCoordinatorRecordHelpers.newStreamsGroupCurrentAssignmentTombstoneRecord(groupId,
 memberId1),
                 
StreamsCoordinatorRecordHelpers.newStreamsGroupTargetAssignmentTombstoneRecord(groupId,
 memberId1),
                 
StreamsCoordinatorRecordHelpers.newStreamsGroupMemberTombstoneRecord(groupId, 
memberId1),
-                
StreamsCoordinatorRecordHelpers.newStreamsGroupEpochRecord(groupId, 11, 0)
+                
StreamsCoordinatorRecordHelpers.newStreamsGroupMetadataRecord(groupId, 11, 
metadataHash, 0)

Review Comment:
   Why did this test pass, even if we did use `0` as metadataHash before this 
change? Seems we don't really use/validate the hash? So why are we using 
`computeGroupHash()` -- could we not just pass dummy value `0` everywhere? 



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