Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OffsetParser ¶
type OffsetParser struct { ToStringFn func(o *kafka.Offset) string FromStringFn func(string) (*kafka.Offset, error) }
func (*OffsetParser) FromString ¶
func (m *OffsetParser) FromString(s string) (*kafka.Offset, error)
type Reader ¶
type Reader struct { FetchMessageFn func(ctx context.Context) (*kafka.Message, error) CommitOffsetsFn func(ctx context.Context, offsets ...*kafka.Offset) error CloseFn func() error }
func (*Reader) CommitOffsets ¶
Click to show internal directories.
Click to hide internal directories.