Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶ added in v2.2.17
type Consumer struct {
// contains filtered or unexported fields
}
func NewConsumer ¶ added in v2.2.17
func NewConsumer(options ConsumerOptions) *Consumer
type ConsumerOptions ¶ added in v2.2.17
type ConsumerOptions struct { KafkaAddresses []string KafkaConsumerGroup string KafkaOffsetReset string SchemaRegistry *avro.SchemaRegistry }
type KafkaOptions ¶
type KafkaOptions struct { KafkaAddresses []string `` /* 155-byte string literal not displayed */ KafkaConsumerGroup string `long:"kafka-consumer-group" default:"abconfig" description:"Consumer group of kafka messages"` KafkaOffsetReset string `long:"kafka-offset-reset" default:"smallest" description:"Offset reset for kafka topic" choice:"smallest" choice:"largest"` }
Simple flags for consumer
Click to show internal directories.
Click to hide internal directories.