parthp2107 f63da0f430
updating schema docs (#1640)
* updating schema docs

* added page links and references
2021-12-09 18:19:32 +05:30

4.2 KiB

Topic

This schema defines the Topic entity. A topic is a feed into which message are published to by publishers and read from by consumers in a messaging service.

$id:https://open-metadata.org/schema/entity/data/topic.json

Type: object

This schema does not accept additional properties.

Properties

Type definitions in this schema

topicName

  • Name that identifies a topic.
  • Type: string
  • The value must match this pattern: ^[^.]*$
  • Length: between 1 and 128

schemaType

  • Schema type used for the message.
  • The value is restricted to the following:
    1. "Avro"
    2. "Protobuf"
    3. "JSON"
    4. "Other"

cleanupPolicy

  • Topic clean up policy. For Kafka - cleanup.policy configuration.
  • The value is restricted to the following:
    1. "delete"
    2. "compact"

This document was updated on: Thursday, December 9, 2021