manager

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBrokersRequired = errors.New("At least one broker address is required.")

ErrBrokersRequired happens when brokers flag is not set.

View Source
var ErrGroupRequired = errors.New("Consumer group name is required.")

ErrGroupRequired happens when group flag is not set.

View Source
var ErrOffsetRequired = errors.New("Offset value is required.")

ErrOffsetRequired happens when offset flag is not set.

View Source
var ErrPartitionRequired = errors.New("Kafka topic partition is required.")

ErrPartitionRequired happens when partition flag is not set.

View Source
var ErrTopicRequired = errors.New("Kafka topic name is required.")

ErrTopicRequired happens when topic flag is not set.

View Source
var SetBrokers string

SetBrokers holds the brokers flag value.

View Source
var SetGroup string

SetGroup holds the group flag value.

View Source
var SetOffset int

SetOffset holds the offset flag value.

View Source
var SetPartition int

SetPartition holds the partition flag value.

View Source
var SetTopic string

SetTopic holds the topic flag value.

Functions

func SetAction

func SetAction(c *cli.Context) error

SetAction is called after CLI flags are parsed and implements the actual "set offset" logic.

func ViewAction

func ViewAction(c *cli.Context) error

ViewAction is called after CLI flags are parsed and implements the actual "view offsets" logic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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