kafka

package
v0.0.0-...-055c182 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomGroup

func RandomGroup() string

Types

type Cluster

type Cluster struct {
	*zookeeper.ZooKeeper
	// contains filtered or unexported fields
}

func New

func New() (*Cluster, error)

func (*Cluster) AnyBroker

func (k *Cluster) AnyBroker() string

func (*Cluster) Brokers

func (k *Cluster) Brokers() []string

func (*Cluster) DeleteTopic

func (k *Cluster) DeleteTopic(topic string) error

func (*Cluster) DescribeTopic

func (k *Cluster) DescribeTopic(topic string) string

func (*Cluster) NewRandomTopic

func (k *Cluster) NewRandomTopic(partition int) (string, error)

func (*Cluster) NewTopic

func (k *Cluster) NewTopic(topic string, partition int) error

type MultiError

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

func (*MultiError) Add

func (e *MultiError) Add(err error)

func (*MultiError) Error

func (e *MultiError) Error() string

func (*MultiError) HasError

func (e *MultiError) HasError() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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