Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(registry schemaregistry.Registry, logger log.CtxLogger) *Decoder
type DownloadSchemaStrategy ¶
type DownloadSchemaStrategy struct { Subject string // TODO add support for specifying "latest" - https://github.com/ConduitIO/conduit/issues/1095 Version int }
func (DownloadSchemaStrategy) GetSchema ¶
func (str DownloadSchemaStrategy) GetSchema(ctx context.Context, registry schemaregistry.Registry, _ log.CtxLogger, _ opencdc.StructuredData) (schema.Schema, error)
type Encoder ¶
type Encoder struct { SchemaStrategy // contains filtered or unexported fields }
func NewEncoder ¶
func NewEncoder(registry schemaregistry.Registry, logger log.CtxLogger, strategy SchemaStrategy) *Encoder
type ExtractAndUploadSchemaStrategy ¶
type ExtractAndUploadSchemaStrategy struct {
Subject string
}
func (ExtractAndUploadSchemaStrategy) GetSchema ¶
func (str ExtractAndUploadSchemaStrategy) GetSchema(ctx context.Context, registry schemaregistry.Registry, _ log.CtxLogger, sd opencdc.StructuredData) (schema.Schema, error)
type SchemaStrategy ¶
Click to show internal directories.
Click to hide internal directories.