Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer interface { Errors() <-chan error Messages() <-chan *sarama.ConsumerMessage MarkOffset(msg *sarama.ConsumerMessage, metadata string) Close() error }
type Kafka ¶
type Kafka struct { ConsumerGroup string `toml:"consumer_group"` ClientID string `toml:"client_id"` Topics []string `toml:"topics"` Brokers []string `toml:"brokers"` MaxMessageLen int `toml:"max_message_len"` Version string `toml:"version"` MaxUndeliveredMessages int `toml:"max_undelivered_messages"` Offset string `toml:"offset"` SASLUsername string `toml:"sasl_username"` SASLPassword string `toml:"sasl_password"` TopicTag string `toml:"topic_tag"` tls.ClientConfig // contains filtered or unexported fields }
func (*Kafka) Description ¶
func (*Kafka) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.