7 Star 5 Fork 24

src-openEuler/kafka

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
0014-override-toString.patch 772 Bytes
一键复制 编辑 原始数据 按行查看 历史
diff --git a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java
index 58a9ce3d5a..daa5a0bf70 100644
--- a/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java
+++ b/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/WorkerConfig.java
@@ -521,6 +521,11 @@ public class WorkerConfig extends AbstractConfig {
}
}
}
+
+ @Override
+ public String toString() {
+ return "List of comma-separated URIs, ex: http://localhost:8080,https://localhost:8443.";
+ }
}
private static class ResponseHttpHeadersValidator implements ConfigDef.Validator {
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/kafka.git
[email protected]:src-openeuler/kafka.git
src-openeuler
kafka
kafka
master

搜索帮助