Import a schema from the Confluent Registry

  • Release version: Zurich
  • Updated July 31, 2025
  • 1 minute to read
  • Import a Schema from the Confluent Registry to enable your Stream Connect producers and consumers to send and receive Kafka messages in an Apache Avro format.

    Before you begin

    • Role required: kafka_admin
    • This feature is part of schema management in Stream Connect. For more information, see Schema management in Stream Connect.
    • The ServiceNow Stream Connect Installer [com.glide.hub.stream_connect.installer] plugin is required.
    • To import a schema, you need to have a Connection and Credential alias to connect to your Confluent registry. Navigate to All > IntegrationHub > Schema Management > Configure Connection to configure your alias. For instructions, see Create a Connection & Credential alias.

    About this task

    Stream Connect uses schemas to convert messages from plain text to an Avro format and back. Using an Avro format can reduce the size of the payload and simplify your integration to your local Kafka instance.

    This document shows you how to import a schema from the Confluent registry. You can also Create a standalone schema in Stream Connect.

    Procedure

    1. Navigate to All > IntegrationHub > Schema Management > Import Schema from Confluent Registry.
    2. Select the Subject of the schema you want to import from the Confluent Registry.
    3. Select the Version of the schema to import.
      The most recent version is the default.
    4. Select Submit.
      On the Confluent Stream Connect Schema form, the Schema field has the JSON-formatted schema that you imported from the registry, and the Schema ID field has the schema's ID.

    Result

    Your schema is visible on the Stream Connect Schemas [stream_connect_schema] table and the Confluent Stream Connect Schema [confluent_stream_connect_schema] table.

    What to do next

    Use Stream Connect producers and consumers to send and receive messages in an Avro format.