Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MsgVersion = sarama.V0_10_2_0
Functions ¶
func NewKafkaClient ¶
Types ¶
type KafkaAsyncProducer ¶
type KafkaAsyncProducer struct { sarama.AsyncProducer // contains filtered or unexported fields }
func NewKafkaAsyncProducer ¶
func NewKafkaAsyncProducer(mqConfig *config.KafkaGlobalConfig, partitionerConstructor sarama.PartitionerConstructor) (*KafkaAsyncProducer, error)
type KafkaMetaData ¶
type KafkaMetaData struct { InputSequenceNumber int64 InputStreamKey string MysqlPositionConfig utils.MySQLBinlogPosition }
Click to show internal directories.
Click to hide internal directories.