Documentation
¶
Overview ¶
Package kafka implements Apache Kafka driver for qRPC
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { TopicPrefix string // contains filtered or unexported fields }
Consumer represents the wrapper on kafka.Reader. It implements the qrpc.Consumer interface.
func NewConsumer ¶
func NewConsumer(cfg *kafka.ReaderConfig) *Consumer
NewConsumer allocates new Consumer object
type Producer ¶
type Producer struct {
// contains filtered or unexported fields
}
Producer represents the wrapper on kafka.Writer. It implements the qrpc.Producer interface.
func NewProducer ¶
func NewProducer(cfg *kafka.WriterConfig) *Producer
NewProducer allocates new Producer object
Click to show internal directories.
Click to hide internal directories.