Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxBytes = 1048576 // 1MB DefaultMaxWait = 50 * time.Millisecond DefaultBatchSize = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Kafka ¶
type Kafka struct { Id string Reader *skafka.Reader Writer *skafka.Writer Options *cli.Options MsgDesc *desc.MessageDescriptor // contains filtered or unexported fields }
Kafka holds all attributes required for performing a write to Kafka. This struct should be instantiated via the kafka.Read(..) func.
type KafkaReader ¶ added in v0.8.1
Click to show internal directories.
Click to hide internal directories.