Documentation ¶
Index ¶
Constants ¶
View Source
const ( YDBTopicCodecGZIP = "gzip" YDBTopicCodecRAW = "raw" YDBTopicCodecZSTD = "zstd" )
Variables ¶
View Source
var ( YDBTopicAllowedCodecs = []string{ YDBTopicCodecRAW, YDBTopicCodecGZIP, YDBTopicCodecZSTD, } YDBTopicDefaultCodecs = []topictypes.Codec{ topictypes.CodecRaw, topictypes.CodecGzip, topictypes.CodecZstd, } YDBTopicCodecNameToCodec = map[string]topictypes.Codec{ YDBTopicCodecRAW: topictypes.CodecRaw, YDBTopicCodecGZIP: topictypes.CodecGzip, YDBTopicCodecZSTD: topictypes.CodecZstd, } YDBTopicCodecToCodecName = map[topictypes.Codec]string{ topictypes.CodecRaw: YDBTopicCodecRAW, topictypes.CodecGzip: YDBTopicCodecGZIP, topictypes.CodecZstd: YDBTopicCodecZSTD, } )
Functions ¶
func ExpandConsumers ¶
func ExpandConsumers(consumers []interface{}) []topictypes.Consumer
func FlattenConsumersDescription ¶
func FlattenConsumersDescription(consumers []topictypes.Consumer) []map[string]interface{}
func MergeConsumerSettings ¶
func MergeConsumerSettings( consumers []interface{}, readRules []topictypes.Consumer, ) (opts []topicoptions.AlterOption)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.