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


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java:
##########
@@ -798,12 +798,14 @@ private void verifyStreamsGroupConfigs() {
      * Returns the rack-aware assignment tags exactly as configured, before 
{@link ConfigDef} removes duplicates.
      */
     private List<String> rawRackAwareAssignmentTags() {
-        String rawValue = (String) 
config.originals().get(STREAMS_GROUP_RACK_AWARE_ASSIGNMENT_TAGS_CONFIG);
+        Object rawValue = 
config.originals().get(STREAMS_GROUP_RACK_AWARE_ASSIGNMENT_TAGS_CONFIG);

Review Comment:
   Do we change this to `Object` just to avoid the cast? Or is there some other 
reason? What we get back, should still be a string.



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