topictypes

package
v3.32.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

View Source
const (
	CodecRaw  = Codec(rawtopiccommon.CodecRaw)
	CodecGzip = Codec(rawtopiccommon.CodecGzip)
	CodecLzop = Codec(rawtopiccommon.CodecLzop)
	CodecZstd = Codec(rawtopiccommon.CodecZstd)

	CodecCustomerFirst = Codec(rawtopiccommon.CodecCustomerFirst)
	CodecCustomerEnd   = Codec(rawtopiccommon.CodecCustomerEnd) // last allowed custom codec id is CodecCustomerEnd-1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec int

Codec

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

type Consumer

type Consumer struct {
	Name            string
	Important       bool
	SupportedCodecs []Codec
	ReadFrom        time.Time
	Attributes      map[string]string
}

Consumer

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

func (*Consumer) ToRaw

func (c *Consumer) ToRaw(raw *rawtopic.Consumer)

ToRaw

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

type PartitionSettings

type PartitionSettings struct {
	MinActivePartitions int64
	PartitionCountLimit int64
}

PartitionSettings

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

func (*PartitionSettings) FromRaw

FromRaw

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

func (*PartitionSettings) ToRaw

ToRaw

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

type TopicDescription

type TopicDescription struct {
	Path              string
	PartitionSettings PartitionSettings
	Consmers          []Consumer
}

TopicDescription

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

func (*TopicDescription) FromRaw

FromRaw

Experimental

Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.

Jump to

Keyboard shortcuts

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