---
sourceDocument: Xanadu ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Monitoring topics in the Hermes Kafka cluster

# Monitoring topics in the Hermes Kafka cluster {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Monitor message processing and view topics in the Hermes Kafka cluster that belong to you using the Hermes Messaging Service topic inspector.

## Tracking messages in partitions {#monitoring-topics-hermes-kafka-cluster__section_s2y_fqz_3xb}

You can track messages in the Hermes Kafka cluster by viewing partition information.

* Determine whether your messages are reaching the Hermes Kafka cluster by checking whether the end offset value changes when you produce messages to a topic.
* Determine whether messages have expired by noting the beginning offset value, which increases as messages expire. If you send messages to a topic but the beginning offset is higher than you expect, some of the messages have already expired. Messages expire in the Hermes Kafka cluster after 36 hours.
{#monitoring-topics-hermes-kafka-cluster__ul_jjz_1xd_5xb}

## Tracking consumer progress {#monitoring-topics-hermes-kafka-cluster__section_mbp_sqz_3xb}

You can track the progress of processing messages for each consumer by viewing consumer information.

* View the consumers for each partition in a topic, including the group ID and consumer ID for each consumer.
* Determine which message a consumer is processing by viewing the Current Offset column.
* Determine whether the consumer is delayed by checking the Lag column. The lag is the difference between the current offset and the end offset that indicates how many messages remain.
{#monitoring-topics-hermes-kafka-cluster__ul_q32_z5g_5xb}

## Inspecting message details {#monitoring-topics-hermes-kafka-cluster__section_jy2_grz_3xb}

You can detect problems with consuming messages using the topic inspector. For example, if a message that you produced isn't consumed from the Hermes Kafka cluster, you can validate the payload and message key by inspecting the topic. You can also download the full payload and save it as a file on your local machine.

You can view messages as binary data in base-64 encoding instead of UTF8 strings by adding a system property. See [Hermes Messaging Service properties](https://servicenow-prod.fluidtopics.net/hVXrHCKTArUzR~UJFQbLIw "These system properties control the behavior of the Hermes Messaging Service.").
* **[View a message in a Hermes topic](https://servicenow-prod.fluidtopics.net/MlxCdgEH8wyVG~OiIDF6yg)**   
  View the payload of a message in a Hermes topic using the Hermes Messaging Service topic inspector.

**Related concepts**   

* [Managing namespaces in Hermes](https://servicenow-prod.fluidtopics.net/SQAKuHi8U2Wfjr9Btk~pHw "Group Kafka topics together for simplified topic management and access control specification using namespaces.")
* [Managing topics in Hermes](https://servicenow-prod.fluidtopics.net/CgYwWXxGFtpoSKWZEhCF1g "Manage topic records in your instance and Kafka topics in the Hermes Kafka cluster using the Hermes Messaging Service.")

