You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/03/02 14:16:48 UTC

[GitHub] [kafka] chia7712 commented on a change in pull request #10246: MINOR: add 'toString' to classes which are used by loggin

chia7712 commented on a change in pull request #10246:
URL: https://github.com/apache/kafka/pull/10246#discussion_r585600633



##########
File path: clients/src/main/java/org/apache/kafka/common/protocol/types/Field.java
##########
@@ -46,6 +46,17 @@ public Field(String name, Type type) {
         this(name, type, null, false, null);
     }
 
+    @Override
+    public String toString() {
+        return "Field{" +
+                "name='" + name + '\'' +
+                ", docString='" + docString + '\'' +

Review comment:
       good suggestion. will address it.




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org