describes

package
v0.0.0-...-bf0d46e Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeAllTopics

func DescribeAllTopics(network, address string) (table.Writer, error)

func DescribeBrokers

func DescribeBrokers(network, address string) (table.Writer, error)

Types

type Partition

type Partition struct {
	Id       int
	Leader   kafka.Broker
	Replicas []kafka.Broker
	Isr      []kafka.Broker
}

type Topic

type Topic struct {
	Topic      string
	Partitions []Partition
}

type TopicsOverview

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

func NewTopics

func NewTopics(network, address string) (*TopicsOverview, error)

func (*TopicsOverview) All

func (t *TopicsOverview) All() (table.Writer, error)

func (*TopicsOverview) GetAllTopics

func (t *TopicsOverview) GetAllTopics() ([]Topic, error)

Jump to

Keyboard shortcuts

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