parthp2107 af564961ef
updated schema docs (#1738)
* updated schema docs

* addressing reviewdog findings
2021-12-14 15:26:34 +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: Tuesday, December 14, 2021