engine

package
v0.0.0-rc9 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSONTypeArray   jsonType = "array"
	JSONTypeBoolean jsonType = "boolean"
	JSONTypeInteger jsonType = "integer"
	JSONTypeNumber  jsonType = "number"
	JSONTypeNull    jsonType = "null"
	JSONTypeObject  jsonType = "object"
	JSONTypeString  jsonType = "string"
)

Variables

View Source
var BuiltInDeps map[string]string //nolint:gochecknoglobals // read-only entity

Functions

This section is empty.

Types

type ConfluentSrImpl

type ConfluentSrImpl struct {
	SchemaRegistryClient     *confluent.SchemaRegistryClient
	SendSrNotFoundToUnparsed bool
	// contains filtered or unexported fields
}

func NewConfluentSchemaRegistryImpl

func NewConfluentSchemaRegistryImpl(srURL string, caCert string, username string, password string, SendSrNotFoundToUnparsed bool, logger log.Logger) *ConfluentSrImpl

func (*ConfluentSrImpl) Do

func (*ConfluentSrImpl) DoBatch

func (*ConfluentSrImpl) DoBuf

func (p *ConfluentSrImpl) DoBuf(partition abstract.Partition, buf []byte, offset uint64, writeTime time.Time) []abstract.ChangeItem

func (*ConfluentSrImpl) DoOne

func (p *ConfluentSrImpl) DoOne(partition abstract.Partition, buf []byte, offset uint64, writeTime time.Time) ([]byte, []abstract.ChangeItem)

func (*ConfluentSrImpl) DoWithSchemaID

func (p *ConfluentSrImpl) DoWithSchemaID(partition abstract.Partition, schemaID uint32, messageName string, buf []byte, offset uint64, writeTime time.Time, isCloudevents bool) ([]byte, []abstract.ChangeItem)

type JSONProperties

type JSONProperties struct {
	Type       string                     `json:"type"`
	OneOf      []*JSONProperties          `json:"oneOf"`
	Properties map[string]*JSONProperties `json:"properties"`
	Title      string                     `json:"title"`
}

Jump to

Keyboard shortcuts

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