Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer represents the kafka consumer which will consume messages from a topic
func NewConsumer ¶
func NewConsumer(log logger.Log, topic string, config *confluent.ConfigMap, collector instrument.Collector, bufferSize int) (Consumer, error)
NewConsumer constructor for Consumer
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer represents the kafka producer which will produce the transformed message to a topic defined in the Message
func NewProducer ¶
func NewProducer(l logger.Log, config *confluent.ConfigMap, collector instrument.Collector) (Producer, error)
NewProducer constructor for Producer
Click to show internal directories.
Click to hide internal directories.