Pub/Sub schema

gcpSchema registrygoogle-pubsub-schema

Avro or Protocol Buffer contract enforced on messages published to a topic.

Provider
gcp
Category
Data
Properties · 2 set by this component
propertytypevaluesrequiredkind defaultthis component
compatibilityenumnone | backward | forward | fullnobackwardinherited
enforcedboolean—nofalse▸ true
managedboolean—nofalse▸ true
maxDefinitionSizeKb · component propertyinteger—no300inherited
maxRevisions · component propertyinteger—no20inherited
maxSchemasPerProject · component propertyinteger—no10000inherited
schemaType · component propertyenumavro | protocol-bufferno—inherited
Rules that apply · 0

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

No rule reads this kind yet. That is a gap, not a guarantee.
Use it in a design
nodes:
  - { id: "pubsub-schema", component: "google-pubsub-schema" }
Other Schema registry products · 7
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Pub/Sub schema: Avro or Protocol Buffer contract attached to a topic. "Schema overview": when a
# schema is associated with a topic a message that does not conform is not published; a schema keeps
# at most 20 revisions, a definition is at most 300 KB, and a project holds at most 10,000 schemas.
schemaVersion: "1"
type: "component"
id: "google-pubsub-schema"
kind: "schema-registry"
provider: "gcp"
docs: "https://docs.cloud.google.com/pubsub/docs/schemas"
defaults:
  managed: true
  enforced: true
properties:
  schemaType:
    type: "enum"
    values: ["avro", "protocol-buffer"]
  maxRevisions:
    type: "integer"
    default: 20
  maxDefinitionSizeKb:
    type: "integer"
    default: 300
  maxSchemasPerProject:
    type: "integer"
    default: 10000

The same page as markdown, for an agent: /catalogue/components/google-pubsub-schema.md