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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Function Variables To Facilitate Mocking Of Sarama Functionality In Unit Tests

Functions

func ProductionNewAdminClientWrapper

func ProductionNewAdminClientWrapper(ctx context.Context, brokers []string, config *sarama.Config, adminClientType types.AdminClientType) (types.AdminClientInterface, error)

Create A New Kafka AdminClient Of Specified Type - Based On Specified Sarama Config

Types

type NewAdminClientFnType

type NewAdminClientFnType = func(ctx context.Context, brokers []string, config *sarama.Config, adminClientType types.AdminClientType) (types.AdminClientInterface, 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