Documentation ¶
Index ¶
- func NewKafkaClient(kc *config.KafkaConfig, metricsClient metrics.Client, logger log.Logger, ...) messaging.Client
- func NewKafkaConsumer(dlqProducer messaging.Producer, brokers []string, topic string, ...) (messaging.Consumer, error)
- func NewKafkaProducer(topic string, producer sarama.SyncProducer, logger log.Logger) messaging.Producer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKafkaClient ¶
func NewKafkaClient( kc *config.KafkaConfig, metricsClient metrics.Client, logger log.Logger, _ tally.Scope, checkApp bool, ) messaging.Client
NewKafkaClient is used to create an instance of KafkaClient
func NewKafkaConsumer ¶ added in v1.2.8
func NewKafkaProducer ¶
func NewKafkaProducer(topic string, producer sarama.SyncProducer, logger log.Logger) messaging.Producer
NewKafkaProducer is used to create the Kafka based producer implementation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.