Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
//config file path
FileName string
//data files dir
DataDir string
//log level
LogLevel string
//lockDir
LockFile string `yaml:"-"`
//listen servers
Servers []struct {
//kafka cluster name
Name string
// storage consumer metadata format: {clusterName}/{topic}.meta
MetaDataDir string `yaml:"-"`
// Server address
Brokers []string
// listen all topics
ListenAll bool
// listen topic
Topics []topicSetting
}
}
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func NewInsatnce ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.