kafka eagle启动正常,访问web页面超级卡,日志显示有报错
[2023-12-04 21:27:36] KafkaSchemaFactory.Thread-15 - ERROR - Failure while loading topic 'third' meta for kafka 'cluster1': {}
java.lang.NullPointerException
at org.smartloli.kafka.eagle.common.util.kraft.KafkaSchemaFactory.getTopicMetaData(KafkaSchemaFactory.java:136)
at org.smartloli.kafka.eagle.core.factory.v2.BrokerServiceImpl.topicMetadata(BrokerServiceImpl.java:539)
at org.smartloli.kafka.eagle.core.factory.v2.BrokerServiceImpl.getBrokerSpreadByTopic(BrokerServiceImpl.java:227)
at org.smartloli.kafka.eagle.web.quartz.shard.task.sub.PerformanceByTopicStatsSubTask.brokerPerformanceByTopicStats(PerformanceByTopicStatsSubTask.java:79)
at org.smartloli.kafka.eagle.web.quartz.shard.task.sub.PerformanceByTopicStatsSubTask.run(PerformanceByTopicStatsSubTask.java:53)
[2023-12-04 21:27:38] KafkaSchemaFactory.Thread-15 - ERROR - Failure while loading topic '__transaction_state' meta for kafka 'cluster1': {}
java.lang.NullPointerException
at org.smartloli.kafka.eagle.common.util.kraft.KafkaSchemaFactory.getTopicMetaData(KafkaSchemaFactory.java:136)
at org.smartloli.kafka.eagle.core.factory.v2.BrokerServiceImpl.topicMetadata(BrokerServiceImpl.java:539)
at org.smartloli.kafka.eagle.core.factory.v2.BrokerServiceImpl.getBrokerSpreadByTopic(BrokerServiceImpl.java:227)
at org.smartloli.kafka.eagle.web.quartz.shard.task.sub.PerformanceByTopicStatsSubTask.brokerPerformanceByTopicStats(PerformanceByTopicStatsSubTask.java:79)
老师报这个错误,怎么解决呢?百度也没答案。kafka eagle启动时候是正常的,但是只要访问web页面就会很卡,虽然最后能够显示,但是每次点击都要等好几分钟,然后看了下错误日志,显示的基本都是这种,这个是怎么回事呢?
正在回答
给启动 kafka eagle 的这台虚拟机多分一些内存和 CPU,内存尝试调到 4G。
- 参与学习 1151 人
- 提交作业 5960 份
- 解答问题 1144 个
不用Java初级内容充数!不用与大数据岗位无关内容占课时!我们做的就是“精华版”大数据课程
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星