config

package
v0.0.0-...-a94d10a Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Brokers: []string{"localhost:9092"},
	Topics:  []string{"test1", "test2"},
	Group:   "kafkabeat",
}

Functions

func LoadTopics

func LoadTopics() (string, error)

LoadTopics load topics from manager server.

Types

type Config

type Config struct {
	Brokers []string `config:"brokers"`
	Topics  []string `config:"topics"`
	Group   string   `config:"group"`
}

Jump to

Keyboard shortcuts

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