unpacker

package
v0.0.0-rc13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncludeSchema

type IncludeSchema struct {
}

func NewIncludeSchema

func NewIncludeSchema() *IncludeSchema

func (*IncludeSchema) Unpack

func (*IncludeSchema) Unpack(message []byte) ([]byte, []byte, error)

type SchemaRegistry

type SchemaRegistry struct {
	// contains filtered or unexported fields
}

func NewSchemaRegistry

func NewSchemaRegistry(srClient *confluent.SchemaRegistryClient) *SchemaRegistry

func (*SchemaRegistry) Unpack

func (s *SchemaRegistry) Unpack(message []byte) ([]byte, []byte, error)

type Unpacker

type Unpacker interface {
	// Unpack schema and payload from message
	Unpack(message []byte) (schema []byte, payload []byte, err error)
}

func NewMessageUnpacker

func NewMessageUnpacker(srClient *confluent.SchemaRegistryClient) Unpacker

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL