kafka

package
v0.0.0-...-4d78421 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseKafkaClient

func CloseKafkaClient()

func CreateTopic

func CreateTopic(broker string, topic string, partitions int, replicationFactor int) error

func GetKafkaClient

func GetKafkaClient() (*kafka.AdminClient, error)

func GetKafkaTopics

func GetKafkaTopics() ([]string, error)

func NewKafkaClient

func NewKafkaClient(config *kafka.ConfigMap) (*kafka.AdminClient, error)

func SetKafkaClient

func SetKafkaClient(newClient *kafka.AdminClient)

Types

This section is empty.

Jump to

Keyboard shortcuts

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