Skip to main content

Schemas

Schemas define the structure and types of event payloads. They are the foundation of the MAPS data processing pipeline.

Why Schemas Matter

  • Validation: Ensures every message conforms to the expected format.
  • Transformation: Enables field-level mapping, renaming, and enrichment.
  • Filtering: Provides type-aware evaluation of conditions.
  • Statistics: Allows numeric fields to be aggregated correctly and string fields to be counted.

Without a schema, payloads are treated as opaque and only minimal inference is possible.

Supported Formats

NameDescription
JSONJavascript Notation
CBORConcise binary object representation
XMLextensible markup language
ProtoBufGoogle Protobuf
AVROApache AVRO
MessagePackLike JSON but smaller
CSVComma seperated Values
QPID-JMSApache QPID JMS Messages
RAWOpaque data load
NativeSingle Native Java types

Schema Registration

Schemas are registered with the server and can be bound to topics.
When an event is published to a topic, the schema (if present) is applied automatically.

Schema in Processing Flow

⚠️ No schema → opaque payload. Stats and transformations may be limited.