kafkaAdmin

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaAdmin

type KafkaAdmin interface {
	CreateTopic(name string) (err error)
	DeleteTopic(name string) (err error)
}

type KafkaAdminImpl

type KafkaAdminImpl struct {
	// contains filtered or unexported fields
}

func New

func New(config config.Config) (*KafkaAdminImpl, error)

func (*KafkaAdminImpl) CreateTopic

func (this *KafkaAdminImpl) CreateTopic(name string) (err error)

func (*KafkaAdminImpl) DeleteTopic

func (this *KafkaAdminImpl) DeleteTopic(name string) (err error)

Jump to

Keyboard shortcuts

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