kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: MINOR: Implement ConfigEntry.toString()
Date Thu, 20 Jul 2017 10:31:18 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 43aa14f2d -> 1b8aed6dc


MINOR: Implement ConfigEntry.toString()

Author: Paolo Patierno <ppatierno@live.com>

Reviewers: Manikumar Reddy <manikumar.reddy@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #3551 from ppatierno/admin_config_entry


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/1b8aed6d
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/1b8aed6d
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/1b8aed6d

Branch: refs/heads/trunk
Commit: 1b8aed6dc52e5d2f7ba29e4589baf15d53ad2870
Parents: 43aa14f
Author: Paolo Patierno <ppatierno@live.com>
Authored: Thu Jul 20 11:29:58 2017 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Thu Jul 20 11:30:50 2017 +0100

----------------------------------------------------------------------
 .../java/org/apache/kafka/clients/admin/ConfigEntry.java | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/1b8aed6d/clients/src/main/java/org/apache/kafka/clients/admin/ConfigEntry.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/clients/admin/ConfigEntry.java b/clients/src/main/java/org/apache/kafka/clients/admin/ConfigEntry.java
index 129f4ba..90ba5d4 100644
--- a/clients/src/main/java/org/apache/kafka/clients/admin/ConfigEntry.java
+++ b/clients/src/main/java/org/apache/kafka/clients/admin/ConfigEntry.java
@@ -98,4 +98,15 @@ public class ConfigEntry {
     public boolean isReadOnly() {
         return isReadOnly;
     }
+
+    @Override
+    public String toString() {
+        return "ConfigEntry(" +
+                "name=" + name +
+                ", value=" + value +
+                ", isDefault=" + isDefault +
+                ", isSensitive=" + isSensitive +
+                ", isReadOnly=" + isReadOnly +
+                ")";
+    }
 }


Mime
View raw message