Documentation ¶
Index ¶
- Constants
- Variables
- func AttachKeySchemaToRecord(r opencdc.Record, s Schema)
- func AttachPayloadSchemaToRecord(r opencdc.Record, s Schema)
- func GetSchemaContextName(ctx context.Context) string
- func WithSchemaContextName(ctx context.Context, schemaCtxName string) context.Context
- type Schema
- type Serde
- type Type
Constants ¶
View Source
const (
TypeAvro = schema.TypeAvro
)
Variables ¶
View Source
var ( ErrSubjectNotFound = pconnutils.ErrSubjectNotFound ErrVersionNotFound = pconnutils.ErrVersionNotFound ErrInvalidSchema = pconnutils.ErrInvalidSchema ErrUnsupportedType = schema.ErrUnsupportedType )
View Source
var KnownSerdeFactories = schema.KnownSerdeFactories
View Source
var Service pconnutils.SchemaService = newCachedSchemaService(newInMemoryService())
Service is the schema service client that can be used to interact with the schema service. It is initialized with an in-memory service by default.
Functions ¶
func AttachKeySchemaToRecord ¶ added in v0.10.1
func AttachPayloadSchemaToRecord ¶ added in v0.10.1
func GetSchemaContextName ¶
GetSchemaContextName fetches the schema context name from the context. If the context does not contain a schema context name it returns an empty string.
Types ¶
Click to show internal directories.
Click to hide internal directories.