Create a namespace in Hermes

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • Organize your Kafka topics by creating a namespace.

    시작하기 전에

    Role required: hermes_admin or kafka_namespace_admin

    이 태스크 정보

    Use namespaces to organize Kafka topics in logical ways. For example:
    • Create namespace records for each Kafka cluster that replicates messages to Hermes.
    • Create namespace records for each domain in a domain-separated instance. For more information, see Hermes Messaging Service domain separation.

    프로시저

    1. Navigate to All > Hermes Messaging Service > Namespaces.
    2. Select New.
    3. On the form, fill in the fields.
      표 1. Kafka namespace form
      Field Description
      Name Name of the namespace.
      Topic Prefix Prefix assigned to all topics in this namespace.

      Topics are assigned to namespaces based on the topic prefix. A scheduled job checks for new topics in Hermes. When it finds one, it creates a topic record and links the topic to the namespace.

      경고:
      To avoid conflicts between the app ID and the namespace that could result in unexpected behavior, don't specify a topic prefix beginning with sn_ when creating a namespace record.
      Allowed Application Scopes List of application scopes that have access to this namespace.
    4. Select Submit.

    결과

    A namespace record is created in the Kafka Namespace [sys_kafka_namespace] table. Topics created in or replicated to Hermes are assigned to the namespace based on the topic prefix.

    다음에 수행할 작업