schema_registry

package
v0.4.7-debug Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 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 SchemaRegistryClient

type SchemaRegistryClient interface {
	GetDefaultCompatibility() (schemaregistry.Compatibility, error)
	GetAllSubjects() ([]string, error)
	GetLatestSchemaMetadata(subject string) (schemaregistry.SchemaMetadata, error)
	GetCompatibility(subject string) (schemaregistry.Compatibility, error)
	GetAllVersions(subject string) ([]int, error)
	GetSchemaMetadata(subject string, version int) (schemaregistry.SchemaMetadata, error)
	GetAllContexts() ([]string, error)
}

type SchemaRegistryService

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

func NewSchemaRegistryService

func NewSchemaRegistryService(client SchemaRegistryClient) *SchemaRegistryService

func (*SchemaRegistryService) GetAllContexts

func (sr *SchemaRegistryService) GetAllContexts() ([]string, error)

func (*SchemaRegistryService) GetAllSubjectsWithVersions

func (sr *SchemaRegistryService) GetAllSubjectsWithVersions() ([]types.Subject, error)

func (*SchemaRegistryService) GetDefaultCompatibility

func (sr *SchemaRegistryService) GetDefaultCompatibility() (schemaregistry.Compatibility, error)

Jump to

Keyboard shortcuts

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