kafka

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KafkaUMHTopicCompiledRegex = regexp.MustCompile(KafkaUMHTopicRegex)
View Source
var KafkaUMHTopicRegex = `` /* 378-byte string literal not displayed */

Functions

func IsKafkaTopicValid

func IsKafkaTopicValid(topic string) bool

Types

type TopicInformation

type TopicInformation struct {
	AssetId            string
	Location           string
	CustomerId         string
	Topic              string
	ExtendedTopics     []string
	TransmitterId      *string
	MacAddressOfCamera *string
}

func GetTopicInformationCached

func GetTopicInformationCached(topic string) *TopicInformation

GetTopicInformationCached returns the topic information for the given topic. The topic information is cached in an LRU cache, resulting in up to 10x performance improvement.

Jump to

Keyboard shortcuts

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