---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://www.servicenow.com/docs/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Managing topics

# Managing topics in Hermes {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Managing topics in Hermes

Hermes Messaging Service organizes and stores messages in Kafka topics within the Hermes Kafka cluster, with topic records managed in the Kafka Topics \[syskafkatopic\] table inside your ServiceNow instance.
These topic records link topics to namespaces and indicate whether a topic is active.
A scheduled synchronization job keeps topic records aligned with the actual Kafka topics in Hermes, handling creation, synchronization, and status updates.
Show full answer Show less  

## Managing Topic Records

* **Topic Records:** Stored in the `syskafkatopic` table, each record includes the topic name, associated namespace, and active status. The `Name` field may not be unique across namespaces, but the `Full Name` is unique.
* **Synchronization Job:** Periodically scans Hermes to create or update topic records, synchronize externally created topics, assign namespaces, mark inactive topics, and log warnings for unmatched topics.
* **Namespaces:** Topics are assigned namespaces based on name prefixes. The Default Namespace (prefix-less) matches all topics unless modified or deleted.
* **Instance-Specific Topics:** Kafka topics are tied to a specific ServiceNow instance and cannot be migrated via update sets; manual recreation is required.

## Creating, Updating, and Deleting Topics

* **Creating Topics:** Can be done from the ServiceNow instance or externally (e.g., Kafka CLI). When creating externally, include the application ID in the topic name to avoid synchronization issues and ensure correct namespace assignment.
* **Updating Topics:** Only the number of partitions can be increased after creation. Namespace assignment is permanent; moving topics to a new namespace requires deletion and recreation with the new prefix.
* **Deleting Topics:** Can be performed directly from the `syskafkatopic` table or externally via CLI. External deletion requires manual removal from all Hermes clusters. Topics with active Stream Connect subscriptions cannot be deleted.

## Rescanning Topics

Rescanning immediately synchronizes topic records with existing Kafka topics in Hermes, especially useful when topics are created externally or after changes to namespaces or plugin activation. It runs automatically every ten minutes and assigns new topic records to namespaces based on prefix rules.

## Practical Benefits for ServiceNow Customers

* Enables centralized management and visibility of Kafka topics directly from your ServiceNow instance.
* Ensures topic consistency between the instance and the Hermes Kafka cluster through automatic synchronization and rescanning.
* Supports controlled topic lifecycle management---creation, modification, and deletion---with namespace governance.
* Facilitates integration with external Kafka tools while maintaining synchronization integrity.  
Manage topic records in your instance and Kafka topics in the Hermes Kafka cluster using the Hermes Messaging Service.

## Topic records {#managing-topics-hermes__section_cf2_p5d_3zb}

Messages are organized and stored in Kafka topics in the Hermes Kafka cluster. Topic records are stored in the Kafka Topics \[sys_kafka_topic\] table in your instance. This table shows a list of topics records with a reference to each topic's namespace. Each topic record
has a field for the topic's name, related namespace, and whether the topic is active.

Values in the Name column of the Kafka Topics \[sys_kafka_topic\] table aren't inherently unique. For example, topic records might have the same Name value when they belong to different namespaces or exist in different clusters.
However, values in the Full Name column are always unique.  
A scheduled job runs regularly to synchronize topic records with the topics found in Hermes. This job performs the following functions:

* Creates topic records for any discovered topics, assigning them to the appropriate namespace based on the prefix for the topic name.
* Synchronizes topics created from external sources, such as the Kafka command-line interface (CLI). For example, when a topic is created from an external source on the near cluster, the job runs and creates the topic on the far cluster as well.
* Logs a warning message if a topic can't be matched to any namespace. If a topic can't be matched to any namespace, the topic record isn't created. There's a default, prefix-less namespace called the Default Namespace that matches all topics. The only time a topic doesn't match any namespace is when the Default Namespace has been deleted or modified.
* Marks topics as inactive if no Kafka topic was found for them.
{#managing-topics-hermes__ul_lln_r5d_3zb}

You can monitor and view topics in the Hermes Kafka cluster using the topic inspector. For more information, see [Monitoring topics in the Hermes Kafka cluster](https://www.servicenow.com/docs/XDA1DIrGTKbcFJ~7pqfQkQ "Monitor message processing and view topics in the Hermes Kafka cluster that belong to you using the Hermes Messaging Service topic inspector.").

Kafka topics are specific to a particular instance. This means you can't migrate a topic record from the Kafka Topics \[sys_kafka_topic\] table to another instance using an update set. Instead, you must manually create the topic in
the target instance.

## Creating topics {#managing-topics-hermes__section_rzg_c22_gzb}

You can create topics in the Hermes Kafka cluster using either of the following methods:

* Create the topic from your instance. This creates a record the Kafka Topics \[sys_kafka_topic\] table and creates a Kafka topic in the Hermes Kafka cluster. See [Create a topic in Hermes](https://www.servicenow.com/docs/zpFhcSOL6h4SGJVcsp2TwQ "Create a topic from within ServiceNow. Creating a topic from your instance adds a topic record to the Kafka Topics [sys_kafka_topic] table and adds a Kafka topic to Hermes.").
* Create the topic externally. For example, create the topic using the Kafka command-line interface (CLI).  
  Note:  
  To avoid syncing issues between the cluster and your instance, include the application ID when creating topics externally. For example, without the application ID, a topic created from the CLI with a name like `snc.instancename.fulfillment.topicname` is created in the default namespace instead of the `fulfillment` namespace. To ensure the topic is created in the `fulfillment` namespace, include the application ID in the name using the format `snc.instancename.fulfillment.app_id.topicname`. Replace `app_id` with the application ID of your choice.
{#managing-topics-hermes__ul_rlb_dsv_jzb}

If, for some reason, a topic can't be created in the Hermes Kafka cluster, it won't be created in the Kafka Topics \[sys_kafka_topic\] table either.

## Updating topics {#managing-topics-hermes__section_fkx_zvn_lyb}

If necessary, you can change the number of partitions in a topic. Note that you can only increase the number of partitions in a topic. For more information, see [Update a topic in Hermes](https://www.servicenow.com/docs/6LxLD8ayA_Z170NMI0rI0g "Update a Kafka topic in Hermes by modifying the topic record.").

After it's created, the namespace assigned to a topic record is permanent. If you create a namespace record and want to move existing topics to it, you must delete the topics and recreate them in the Hermes Kafka cluster with the new namespace prefix. If the topics weren't created through the instance, new topic records will be created and assigned to the matching namespace record after a rescan.

## Deleting topics {#managing-topics-hermes__section_d1w_bvn_lyb}

You can delete topics from the Hermes Kafka cluster using either of the following methods:

* Delete the topic directly from the Kafka Topics \[sys_kafka_topic\] table in your instance. This method automatically deletes the topic from all the Hermes Kafka clusters in one action. See [Delete a topic in Hermes](https://www.servicenow.com/docs/fGhoTYGA15sPabnlcz7AYQ "Remove a topic and its messages by deleting it from Hermes. Deleting a topic record deletes it from your instance and from the Hermes Kafka cluster.")
* Delete the topic externally. For example, delete the topic using the Kafka command-line interface (CLI).  
  Important:  
  Deleting the topic externally requires that you delete the topic from both Hermes clusters manually by specifying each set of ports (410x and 420x). If possible, delete the topic through the instance instead.
{#managing-topics-hermes__ul_nvb_2vn_lyb}

You can't delete a topic if it has subscriptions in Stream Connect.

## Rescanning topics {#managing-topics-hermes__section_fgv_bvg_jzb}

Rescanning creates topic records for any topics in the Hermes Kafka cluster that don't already have corresponding topic records. For example, if you create topics in Hermes using the CLI, you can rescan to create corresponding topic records in the Kafka Topics \[sys_kafka_topic\] table immediately instead of waiting for the scheduled job to create them.

* The rescan occurs automatically every ten minutes.
* Created topic records are assigned to existing namespaces based on prefix matching rules.

{#managing-topics-hermes__ul_uyl_m5g_jzb}  
Sometimes topic records in your instance don't match what's in Hermes. This situation can happen in the following cases:

* When the ServiceNow Integration Hub Kafka Consumer (com.glide.hub.kafka_consumer) plugin is enabled after there are already topics in Hermes.
* When topic records are deleted accidentally.
* When namespace definitions are changed, and you want to assign existing topics to the new namespaces.
{#managing-topics-hermes__topic-namespace_ul_ql5_lnk_rvb}
* **[Create a topic in Hermes](https://www.servicenow.com/docs/zpFhcSOL6h4SGJVcsp2TwQ)**   
  Create a topic from within ServiceNow. Creating a topic from your instance adds a topic record to the Kafka Topics \[sys_kafka_topic\] table and adds a Kafka topic to Hermes.
* **[Update a topic in Hermes](https://www.servicenow.com/docs/6LxLD8ayA_Z170NMI0rI0g)**   
  Update a Kafka topic in Hermes by modifying the topic record.
* **[Delete a topic in Hermes](https://www.servicenow.com/docs/fGhoTYGA15sPabnlcz7AYQ)**   
  Remove a topic and its messages by deleting it from Hermes. Deleting a topic record deletes it from your instance and from the Hermes Kafka cluster.
* **[Rescan topics in Hermes](https://www.servicenow.com/docs/vh6RnV4XQbNL_b7wDe65ew)**   
  Synchronize topic records in your instance with topics in the Hermes Kafka cluster by rescanning.

**Related concepts**   

* [Managing namespaces in Hermes](https://www.servicenow.com/docs/K6D8xJzYsYBBOrdjO4R1vg "Group Kafka topics together for simplified topic management and access control specification using namespaces.")
* [Monitoring topics in the Hermes Kafka cluster](https://www.servicenow.com/docs/XDA1DIrGTKbcFJ~7pqfQkQ "Monitor message processing and view topics in the Hermes Kafka cluster that belong to you using the Hermes Messaging Service topic inspector.")

