Create a standalone schema in Stream Connect
Create a schema 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.
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 create your own standalone schema by uploading a JSON file or by entering a schema directly as a JSON-formatted string. You can also Import a schema from the Confluent Registry.
Procedure
Result
Your schema is visible on the Standalone Stream Connect Schema [standalone_stream_connect_schema] table and the Stream Connect Schemas [stream_connect_schema] table.
What to do next
Use Stream Connect producers and consumers to send and receive messages in an Avro format.