package topictypes
import "github.com/ydb-platform/ydb-go-sdk/v3/topic/topictypes"
Index ¶
- Constants
- type Codec
- type Consumer
- type PartitionSettings
- func (s *PartitionSettings) FromRaw(raw *rawtopic.PartitioningSettings)
- func (s *PartitionSettings) ToRaw(raw *rawtopic.PartitioningSettings)
- type TopicDescription
Constants ¶
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 )
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 ¶
ToRaw
Experimental
Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
type PartitionSettings ¶
PartitionSettings
Experimental
Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
func (*PartitionSettings) FromRaw ¶
func (s *PartitionSettings) FromRaw(raw *rawtopic.PartitioningSettings)
FromRaw
Experimental
Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
func (*PartitionSettings) ToRaw ¶
func (s *PartitionSettings) ToRaw(raw *rawtopic.PartitioningSettings)
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 ¶
func (d *TopicDescription) FromRaw(raw *rawtopic.DescribeTopicResult)
FromRaw
Experimental
Notice: This API is EXPERIMENTAL and may be changed or removed in a later release.
Source Files ¶
- Version
- v3.34.1
- Published
- Aug 17, 2022
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 seconds ago –
Tools for package owners.