Configure Pulse to Monitor Multiple Kafka clusters under a single Hadoop Cluster

This document is created under the assumption that a Hadoop cluster having multiple kafka cluster, each node will only be a part of single kafka cluster.

Steps

  1. Add Multiple Kafka Clusters in Config

Edit:

Bash
Copy

Under kafka.connectors, define multiple clusters:

Bash
Copy

Key Notes

  • Keep the first cluster name the same as the Hadoop cluster name (avoids reconfiguring all agents).
  • Ensure:
    • Unique name per Kafka cluster
    • Correct zk_servers (different chroot if shared ZK)
  1. Push Config to Database
Bash
Copy
  1. Restart Kafka Connector
Bash
Copy
  1. Define Target Hosts for Reconfiguration

Edit/create:

Bash
Copy

Example:

YAML
Copy

Purpose:

  • add → nodes to be reassigned to the new Kafka cluster
  • remove → excluded nodes
  1. Update JMX Cluster Mapping

Edit:

Bash
Copy
Bash
Copy

Example:

Bash
Copy
  1. Reconfigure Agents
Bash
Copy

This updates:

  • Kafka JMX cluster name
  • Only for hosts in add list
  1. Repeat for Additional Kafka Clusters

Repeat Steps 4–6 for each Kafka cluster.

Validation Checklist

  1. Check the db_name in /opt/pulse/jmx/config/enabled/vm_kafka.json file.
  2. Check the cluster name in JMX metrics through Dashplot studio.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard