Documentation ¶
Index ¶
- func MarshalKafkaDataToStruct(data []byte, structToMarshal interface{}) error
- func NewReader(cfg kafka.ReaderConfig, log logger.Logger) *kafka.Reader
- func NewWriter(writer kafka.Writer, log logger.Logger) *kafka.Writer
- func UnmarshalToKafkaMessage(data []byte) (models.KafkaMessage, error)
- 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 MarshalKafkaDataToStruct ¶ added in v0.5.62
func UnmarshalToKafkaMessage ¶ added in v0.5.62
func UnmarshalToKafkaMessage(data []byte) (models.KafkaMessage, error)
Types ¶
type WriterConfig ¶
Click to show internal directories.
Click to hide internal directories.