Documentation ¶
Index ¶
- func NewKafkaReader(opts *NewKafkaReaderOptions) (*kafka.Reader, error)
- func NewKafkaWriter(opts *NewKafkaWriterOptions) (*kafka.Writer, error)
- func Subscribe(ctx context.Context, opts *NewKafkaReaderOptions, ...) error
- func WriteMessage(ctx context.Context, writer *kafka.Writer, key []byte, value []byte, ...) error
- type NewKafkaReaderOptions
- type NewKafkaWriterOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKafkaReader ¶
func NewKafkaReader(opts *NewKafkaReaderOptions) (*kafka.Reader, error)
func NewKafkaWriter ¶
func NewKafkaWriter(opts *NewKafkaWriterOptions) (*kafka.Writer, error)
Types ¶
type NewKafkaReaderOptions ¶
Click to show internal directories.
Click to hide internal directories.