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:33:04 GMT
Repository: kafka
Updated Branches:
  refs/heads/0.11.0 acfcc1f91 -> a6c108d3b


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

(cherry picked from commit 1b8aed6dc52e5d2f7ba29e4589baf15d53ad2870)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>


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

Branch: refs/heads/0.11.0
Commit: a6c108d3bcbe7e89cea501008f3f5ebf22b499e1
Parents: acfcc1f
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:31:23 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/a6c108d3/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