avro

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaCache

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

SchemaCache connects to the Confluent schema registry and maintains a cached versions of Avro schemas and codecs.

func NewSchemaCache

func NewSchemaCache(url string) (*SchemaCache, error)

NewSchemaCache returns a new Cache instance

func (*SchemaCache) DecodeMessage

func (c *SchemaCache) DecodeMessage(b []byte) (message []byte, err error)

DecodeMessage returns a text representation of an Avro-encoded message.

Jump to

Keyboard shortcuts

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