wrapper

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

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)

Jump to

Keyboard shortcuts

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