pkg

package
v0.0.0-...-1f7c5cd Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerGroup

type ConsumerGroup struct {
	Id              string
	ActiveMembers   int
	Members         []Member
	LastKnownStatus *string
	FunctionArn     *string
}

type Kafka

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

func NewKafka

func NewKafka(awsRegion string, bootstrapServers []string, tlsEnabled bool) (*Kafka, error)

func (*Kafka) ListConsumerGroups

func (k *Kafka) ListConsumerGroups() (*[]ConsumerGroup, error)

func (*Kafka) ListTopics

func (k *Kafka) ListTopics() ([]string, error)

type Member

type Member struct {
	ClientId string
	Topics   []string
}

Jump to

Keyboard shortcuts

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