Apache Kafka and Apache Zookeeper discovery

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • ServiceNow Discovery uses the Kafka and Zookeeper discovery pattern to find Kafka data built on the Zookeeper synchronization service.

    Request apps on the Store

    Visit the ServiceNow Store to view all the available apps, and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.

    Prerequisites

    CMDB CI Class Models store app
    Verify the CMDB CI Class Models store app (version 1.20.0) is installed.
    Discovery and Service Mapping Patterns store app
    Verify the Discovery and Service Mapping Patterns store app (version 1.0.72) is installed.
    Certificate Authority process
    Ensure that the CA process is up and running on the host machine.
    Discovery credentials
    Ensure you have the credentials for running Discovery on the host machine running the CA process​.

    Kafka and Zookeeper process should be running on the host.

    Remarque :
    Kafka Broker Discovery should run first followed by Zookeeper. In the Zookeeper Configuration file, the order of nodes forming the cluster should be consistent across all of the nodes in the cluster.

    Data collected by Discovery during horizontal discovery

    Tableau 1. Resources discovered on the [cmdb_ci_appl_kafka_connect] table
    Fields Description
    name Name of the CI
    node Node where the zookeeper is installed
    tier Tier of the zookeeper
    install_directory Path of the install directory
    config_file Path of the config file
    config_directory Path of the config directory
    Tableau 2. Resources discovered on the [cmdb_ci_appl_kafka_topic] table
    Fields Description
    name Name of the CI
    isr In Sync Replica
    replicas Number of replicas of the topic
    partition_count Partition count of the topic
    replication_factor Replication factor of the topic
    Tableau 3. Resources discovered on the [cmdb_ci_appl_zoo_keeper] table
    Fields Description
    name Name of the CI
    node Node where the zookeeper is installed
    tier Tier of the zookeeper
    config_file Path of the config file
    install_directory Path of the install
    Tableau 4. Resources discovered on the [cmdb_ci_kafka_cluster] table
    Fields Description
    Cluster_id Unique id specific to cluster
    Tableau 5. Resources discovered on the [cmdb_ci_zoo_keeper_cluster] table
    Fields Description
    Cluster_id Unique id specific to cluster
    Tableau 6. Resources discovered on the [cmdb_ci_kafka_cluster_node] table
    Fields Description
    Name Name of the Node
    Clustername Name of the cluster the node belongs to
    Tableau 7. Resources discovered on the [cmdb_ci_zoo_keeper_cluster_node] table
    Fields Description
    Name Name of the Node
    clustername Name of the cluster the node belongs to

    CI Relationships

    The Kafka and Zookeeper pattern does not create any CI relationships.