testing

package
v0.25.3 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 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