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 ¶
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.
Click to show internal directories.
Click to hide internal directories.