testing

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NonValidatingNewConsumerGroupFn

func NonValidatingNewConsumerGroupFn(mockConsumerGroup sarama.ConsumerGroup) wrapper.NewConsumerGroupFnType

Non-Validating NewConsumerGroup Function

func RestoreNewConsumerGroupFn

func RestoreNewConsumerGroupFn()

Restore The NewConsumerGroupFn To Official Production Value

func StubNewConsumerGroupFn

func StubNewConsumerGroupFn(stubNewConsumerGroupFn wrapper.NewConsumerGroupFnType)

Replace The NewConsumerGroupFn With Specified Mock / Test Value

func ValidatingNewConsumerGroupFn

func ValidatingNewConsumerGroupFn(t *testing.T,
	expectedBrokers []string,
	expectedGroupId string,
	expectedConfig *sarama.Config,
	mockConsumerGroup sarama.ConsumerGroup) wrapper.NewConsumerGroupFnType

Validating NewConsumerGroup Function

Types

This section is empty.

Jump to

Keyboard shortcuts

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