kafka

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FQGroupId added in v0.12.3

func FQGroupId(config cfg.Config, appId cfg.AppId, groupId string) string

func FQTopicName

func FQTopicName(config cfg.Config, appId cfg.AppId, topic string) string

FQTopicName returns fully-qualified topic name.

func NormalizeKafkaName added in v0.12.3

func NormalizeKafkaName(name string) string

Types

type KafkaNamingSettings added in v0.12.3

type KafkaNamingSettings struct {
	TopicPattern string `cfg:"topic_pattern,nodecode" default:"{env}-{topicId}"`
	GroupPattern string `cfg:"group_pattern,nodecode" default:"{env}-{app}-{groupId}"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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