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


##########
group-coordinator/src/main/resources/common/message/StreamsGroupMetadataValue.json:
##########
@@ -24,6 +24,8 @@
     { "name": "Epoch", "versions": "0+", "type": "int32",
       "about": "The group epoch." },
     { "name": "MetadataHash", "versions": "0+", "type": "int64",
-      "about": "The hash of all topics in the group." }
+      "about": "The hash of all topics in the group." },
+    { "name": "ValidatedTopologyEpoch", "versions": "0+", "taggedVersions": 
"0+", "tag": 0, "default": -1, "type": "int32",

Review Comment:
   We add the field as a tagged field, so if we are compatible without bumping 
the version.
   
   If a new kafka reads a record without ValidatedTopologyEpoch, it will assume 
the default -1 and revalidate the topology.
   
   If an old kafka reads a record with ValidatedTopologyEpoch, it will be 
ignored.



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