dajac commented on code in PR #14673:
URL: https://github.com/apache/kafka/pull/14673#discussion_r1377307212


##########
group-coordinator/src/main/resources/common/message/ConsumerGroupCurrentMemberAssignmentValue.json:
##########
@@ -24,20 +24,12 @@
       "about": "The current member epoch that is expected from the member in 
the heartbeat request." },
     { "name": "PreviousMemberEpoch", "versions": "0+", "type": "int32",
       "about": "If the last epoch bump is lost before reaching the member, the 
member will retry with the previous epoch." },
-    { "name": "TargetMemberEpoch", "versions": "0+", "type": "int32",
-      "about": "The target epoch corresponding to the assignment used to 
compute the AssignedPartitions, the PartitionsPendingRevocation and the 
PartitionsPendingAssignment fields." },
+    { "name": "State", "versions": "0+", "type": "int8",
+      "about": "The member state. See ConsumerGroupMember.MemberState for the 
possible values." },

Review Comment:
   The main change here is that we introduce an explicit state in the record.



##########
group-coordinator/src/main/resources/common/message/ConsumerGroupCurrentMemberAssignmentValue.json:
##########
@@ -24,20 +24,12 @@
       "about": "The current member epoch that is expected from the member in 
the heartbeat request." },
     { "name": "PreviousMemberEpoch", "versions": "0+", "type": "int32",
       "about": "If the last epoch bump is lost before reaching the member, the 
member will retry with the previous epoch." },
-    { "name": "TargetMemberEpoch", "versions": "0+", "type": "int32",
-      "about": "The target epoch corresponding to the assignment used to 
compute the AssignedPartitions, the PartitionsPendingRevocation and the 
PartitionsPendingAssignment fields." },
+    { "name": "State", "versions": "0+", "type": "int8",
+      "about": "The member state. See ConsumerGroupMember.MemberState for the 
possible values." },
     { "name": "AssignedPartitions", "versions": "0+", "type": 
"[]TopicPartitions",
       "about": "The partitions assigned to (or owned by) this member." },
-    { "name": "PartitionsPendingRevocation", "versions": "0+", "type": 
"[]TopicPartitions",
-      "about": "The partitions that must be revoked by this member." },
-    { "name": "PartitionsPendingAssignment", "versions": "0+", "type": 
"[]TopicPartitions",
-      "about": "The partitions that will be assigned to this member when they 
are freed up by their current owners." },

Review Comment:
   This is not required anymore with the new implementation.



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