kafka-monitor
kafka-monitor copied to clipboard
ClassNotFoundException: com.linkedin.kmf.services.ProduceService
Hi, I am trying to run the below command after building the jar file. Am getting the below error. Please help.
./bin/xinfra-monitor-start.sh config/xinfra-monitor.properties
com.linkedin.xinfra.monitor.services.configs.DefaultMetricsReporterServiceConfig)
[2022-07-05 16:51:41,745] INFO ClusterTopicManipulationService constructor initiated com.linkedin.xinfra.monitor.services.ClusterTopicManipulationService (com.linkedin.xinfra.monitor.services.ClusterTopicManipulationService)
[2022-07-05 16:51:41,746] INFO TopicManagementServiceConfig values:
topic = xinfra-monitor
topic-management.minPartitionNum = 1
topic-management.partitionsToBrokersRatio = 1.0
topic-management.replicationFactor = 1
topic-management.topicAddPartitionEnabled = true
topic-management.topicCreationEnabled = true
topic-management.topicFactory.class.name = com.linkedin.xinfra.monitor.topicfactory.DefaultTopicFactory
topic-management.topicManagementEnabled = true
topic-management.topicReassignPartitionAndElectLeaderEnabled = true
zookeeper.connect = localhost:2181
(com.linkedin.xinfra.monitor.services.configs.TopicManagementServiceConfig)
Exception in thread "main" java.lang.ClassNotFoundException: com.linkedin.kmf.services.ProduceService
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at com.linkedin.xinfra.monitor.XinfraMonitor.
This is your first issue in the repository. Thank you for raising this issue.' first issue