Pre-requisites for Monitoring Apache Kafka Message System
Before attempting to manage and monitor Apache Kafka Message System, make sure that the following pre-requisites are fulfilled:
- Determine the correct port using which the target Apache Kafka Message System has to be managed in the eG admin interface.
- To enable the eG agent to collect JVM-related metrics, make sure the requirement for JVM monitoring detailed in the Configuring JVM Monitoring for Windows in Apache Kafka Message System and Configuring JVM Monitoring for Linux in Apache Kafka Message System topics are satisfied.
Note:
Collection of metrics for Kafka Service Availability test requires a Topic name to be configured and user should create this topic as part of eG monitoring aspect. The steps to create Topic name is given below:
For Windows, execute the command as
C:\Program Files\Kafka\bin\windows\kafka-topics.bat --create --topic eGSampleTopicForTest -–bootstrap-server localhost:9092 --replication-factor 1 --partitions 4
For Linux, execute the command as
/opt/kafka/bin/kafka-topics.sh --create --topic eGSampleTopicForTest --bootstrap-server localhost:9092 --replication-factor 1 --partitions 4