Package org.apache.pulsar.client.api.v5.schema
package org.apache.pulsar.client.api.v5.schema
Schema definitions for message serialization and deserialization.
The Schema interface provides static
factories for built-in types (STRING, JSON, AVRO, PROTOBUF, etc.) and is the entry
point for all schema-related operations.
-
ClassDescriptionA named field of a
GenericRecord.A schema-less view over a decoded message value, used when the value's schema is discovered at runtime rather than known at compile time (seeSchema.autoConsume()).KeyValue<K,V> A key/value pair, used as the native object of aGenericRecordwhose schema type isSchemaType.KEY_VALUE.Schema<T>Defines how message values are serialized to bytes and deserialized from bytes.Describes a schema for broker-side schema negotiation and compatibility checks.Types of schema supported by Pulsar.