Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { Input struct { Kafka KafkaConf } Filters []Filter `json:",optional"` Output struct { ElasticSearch ElasticSearchConf } }
type ElasticSearchConf ¶
type ElasticSearchConf struct { Hosts []string Index string DocType string `json:",default=doc"` TimeZone string `json:",optional"` MaxChunkBytes int `json:",default=15728640"` // default 15M Compress bool `json:",default=false"` Username string `json:",optional"` Password string `json:",optional"` }
type KafkaConf ¶
type KafkaConf struct { service.ServiceConf Brokers []string Group string Topics []string Offset string `json:",options=first|last,default=last"` Conns int `json:",default=1"` Consumers int `json:",default=8"` Processors int `json:",default=8"` MinBytes int `json:",default=10240"` // 10K MaxBytes int `json:",default=10485760"` // 10M Username string `json:",optional"` Password string `json:",optional"` }
Click to show internal directories.
Click to hide internal directories.