Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TRSKafka ¶
type TRSKafka struct { Client *TRSKafkaClient ConsumerShutdown chan int RcvTopicNames []string Mux sync.Mutex Logger *logrus.Logger }
type TRSKafkaClient ¶
type TRSKafkaClient struct { Config *sarama.Config Producer *sarama.AsyncProducer ConsumerGroup *sarama.ConsumerGroup Consumer *TRSKafkaConsumer Logger *logrus.Logger }
type TRSKafkaConsumer ¶
type TRSKafkaConsumer struct { Errors chan error Responses chan *sarama.ConsumerMessage Logger *logrus.Logger }
func (*TRSKafkaConsumer) Cleanup ¶
func (consumer *TRSKafkaConsumer) Cleanup(sarama.ConsumerGroupSession) error
func (*TRSKafkaConsumer) ConsumeClaim ¶
func (consumer *TRSKafkaConsumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
func (*TRSKafkaConsumer) Setup ¶
func (consumer *TRSKafkaConsumer) Setup(sarama.ConsumerGroupSession) error
Click to show internal directories.
Click to hide internal directories.