Documentation
¶
Index ¶
Constants ¶
View Source
const BATCH_MAX_BYTES = 10e6 // 10MB
View Source
const BATCH_MIN_BYTES = 10e3 // 10kB
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { KafkaAddr string Topic string Partition int Group string // contains filtered or unexported fields }
func NewConsumer ¶
If group is setted, partition will be ignored
func (*Consumer) ConsumeEvent ¶
Click to show internal directories.
Click to hide internal directories.