lucasbru opened a new pull request, #20875:
URL: https://github.com/apache/kafka/pull/20875

   When TaskAssignor instances are logged in GroupMetadataManager and 
TargetAssignmentBuilder, they currently display the default Java object 
representation (e.g., "StickyTaskAssignor@1a2b3c4d"). This change adds 
toString() implementations to all TaskAssignor classes that return the 
assignor's name, providing more meaningful log output.
   
   Note: We implement toString() in each concrete class rather than as a 
default method in the TaskAssignor interface because Java does not allow 
default methods in interfaces to override methods from java.lang.Object. 


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