Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewConsumerGroupFn = SaramaNewConsumerGroupWrapper
Function Variables To Facilitate Mocking Of Sarama Functionality In Unit Tests
Functions ¶
func SaramaNewConsumerGroupWrapper ¶
func SaramaNewConsumerGroupWrapper(brokers []string, groupId string, config *sarama.Config) (sarama.ConsumerGroup, error)
The Production Sarama NewConsumerGroup Wrapper Function
Types ¶
type NewConsumerGroupFnType ¶
type NewConsumerGroupFnType = func(brokers []string, groupId string, config *sarama.Config) (sarama.ConsumerGroup, error)
Define Function Types For Wrapper Variables (Typesafe Stubbing For Tests)
Click to show internal directories.
Click to hide internal directories.