Documentation ¶
Index ¶
- type Config
- type Manager
- type MockManager
- func (m *MockManager) Close() error
- func (m *MockManager) GetOffsetLatest(topic string, partition int32) (offset int64, err error)
- func (m *MockManager) GetOffsetOldest(topic string, partition int32) (offset int64, err error)
- func (m *MockManager) OffsetValid(topic string, partition int32, offset int64) (isValid bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { OffsetValid(topic string, partition int32, offset int64) (isValid bool, err error) GetOffsetLatest(topic string, partition int32) (offset int64, err error) GetOffsetOldest(topic string, partition int32) (offset int64, err error) Close() error }
func NewManager ¶
type MockManager ¶
func (*MockManager) Close ¶
func (m *MockManager) Close() error
func (*MockManager) GetOffsetLatest ¶
func (m *MockManager) GetOffsetLatest(topic string, partition int32) (offset int64, err error)
func (*MockManager) GetOffsetOldest ¶
func (m *MockManager) GetOffsetOldest(topic string, partition int32) (offset int64, err error)
func (*MockManager) OffsetValid ¶
Click to show internal directories.
Click to hide internal directories.