Documentation ¶ Index ¶ func NewReader(cfg kafka.ReaderConfig, log logger.Logger) *kafka.Reader func NewWriter(writer kafka.Writer, log logger.Logger) *kafka.Writer func WriteToTopicInBackground(ctx context.Context, writer *kafka.Writer, topic string, key string, ...) error type Reader type WriterConfig Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewReader ¶ func NewReader(cfg kafka.ReaderConfig, log logger.Logger) *kafka.Reader func NewWriter ¶ func NewWriter(writer kafka.Writer, log logger.Logger) *kafka.Writer func WriteToTopicInBackground ¶ added in v0.5.5 func WriteToTopicInBackground( ctx context.Context, writer *kafka.Writer, topic string, key string, value models.KafkaMessage, log logger.Logger, ) error Types ¶ type Reader ¶ type Reader struct { // contains filtered or unexported fields } type WriterConfig ¶ type WriterConfig struct { Logger logger.Logger } Source Files ¶ View all Source files reader.go writer.go Click to show internal directories. Click to hide internal directories.