apache-kafka - Confluent CLI - 连接无法启动
问题描述
我为本地机器下载了 Confluent-7.0.0 安装它。尝试按照快速入门指南,我输入“confluent local services start”并收到此错误消息“错误:连接无法启动”不知道出了什么问题,即使是旧版本也每次都会发生。我正在使用 ubuntu 虚拟机。
Using CONFLUENT_CURRENT: /tmp/confluent.587467
Starting ZooKeeper
ZooKeeper is [UP]
Starting Kafka
Kafka is [UP]
Starting Schema Registry
Schema Registry is [UP]
Starting Kafka REST
Kafka REST is [UP]
Starting Connect
Error: Connect failed to start
当我直接运行 kafka connect 时,它能够启动服务,但有一些错误消息。
WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.ConnectorPluginsResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.ConnectorPluginsResource will be ignored.
Nov 14, 2021 4:13:28 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.ConfluentV1MetadataResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.ConfluentV1MetadataResource will be ignored.
Nov 14, 2021 4:13:28 PM org.glassfish.jersey.internal.inject.Providers checkProviderRuntime
WARNING: A provider org.apache.kafka.connect.runtime.rest.resources.LoggingResource registered in SERVER runtime does not implement any provider interfaces applicable in the SERVER runtime. Due to constraint configuration problems the provider org.apache.kafka.connect.runtime.rest.resources.LoggingResource will be ignored.
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'log4j2.debug' to show Log4j2 internal initialization logging.
Nov 14, 2021 4:13:31 PM org.glassfish.jersey.internal.Errors logErrors
WARNING: The following warnings have been detected: WARNING: The (sub)resource method listLoggers in org.apache.kafka.connect.runtime.rest.resources.LoggingResource contains empty path annotation.
WARNING: The (sub)resource method createConnector in org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource contains empty path annotation.
WARNING: The (sub)resource method listConnectors in org.apache.kafka.connect.runtime.rest.resources.ConnectorsResource contains empty path annotation.
WARNING: The (sub)resource method listConnectorPlugins in org.apache.kafka.connect.runtime.rest.resources.ConnectorPluginsResource contains empty path annotation.
WARNING: The (sub)resource method serverInfo in org.apache.kafka.connect.runtime.rest.resources.RootResource contains empty path annotation.
[2021-11-14 16:13:31,592] INFO Started o.e.j.s.ServletContextHandler@20a116a0{/,null,AVAILABLE} (org.eclipse.jetty.server.handler.ContextHandler:915)
[2021-11-14 16:13:31,608] INFO REST resources initialized; server is started and ready to handle requests (org.apache.kafka.connect.runtime.rest.RestServer:308)
[2021-11-14 16:13:31,608] INFO Kafka Connect started (org.apache.kafka.connect.runtime.Connect:57)
解决方案
推荐阅读
- html - 将 div 放在两个 div 之间的边界之上
- java - PSQLException:错误:“id”列中的空值在 SQL 插入期间违反了非空约束
- mysql - 使用 SQL 从 WordPress 帖子中删除 HTML 失败且没有错误
- blogger - 如何将两个小部件内容包装到 Blogger 中的单个 DIV 元素中?
- java - 为什么内部具有类对象数组的构造函数具有空值
- git - 通配符文件忽略在 .talismanrc 中不起作用
- python - Plotly:如何在 scattergeo 图中自定义标签?
- machine-learning - ValueError:无法将 NumPy 数组转换为张量(不支持的对象类型 numpy.ndarray)。在 CNN 网络的猫狗分类中发展
- javascript - 如何在 Sublime text 3 中同时使用 JavaScript 和 HTML?
- tooltip - Meteor 在两个 claases/elements 上使用tippy.js