AndrewJSchofield commented on code in PR #20819:
URL: https://github.com/apache/kafka/pull/20819#discussion_r2498118425


##########
core/src/main/scala/kafka/server/KafkaApis.scala:
##########
@@ -4182,6 +4195,19 @@ class KafkaApis(val requestChannel: RequestChannel,
     config.shareGroupConfig.isShareGroupEnabled || 
shareVersion().supportsShareGroups
   }
 
+  /**
+   * This function checks if the member id passed from the client in KIP-932 
related RPCs is valid or not. We disallow
+   * empty strings since group coordinator disallows it. We also disallow 
Uuid.ZERO_UUID ("AAAAAAAAAAAAAAAAAAAAAA")

Review Comment:
   Why can we not use the empty string `""` as an empty member ID in 
SharePartition? I don't see the point in reserving this single strange value.



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