Import a schema from the Confluent Registry
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 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
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.