Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MConsumerGroup ¶
type MConsumerGroup struct { sarama.ConsumerGroup // contains filtered or unexported fields }
func NewMConsumerGroup ¶
func NewMConsumerGroup(consumerConfig *MConsumerGroupConfig, topics, addr []string, groupID string) *MConsumerGroup
func (*MConsumerGroup) RegisterHandleAndConsumer ¶
func (mc *MConsumerGroup) RegisterHandleAndConsumer(handler sarama.ConsumerGroupHandler)
type MConsumerGroupConfig ¶
type MConsumerGroupConfig struct { KafkaVersion sarama.KafkaVersion OffsetsInitial int64 IsReturnErr bool }
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
func MustNewProducer ¶
func MustNewProducer(config ProducerConfig) *Producer
type ProducerConfig ¶
Click to show internal directories.
Click to hide internal directories.