Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStream ¶
type MockStream struct {
// contains filtered or unexported fields
}
func NewDefaultStream ¶
func NewDefaultStream(partition int, nElems int) *MockStream
func NewMock ¶
func NewMock(items [][]byte) *MockStream
func (MockStream) Close ¶
func (m MockStream) Close() error
func (MockStream) IsEmpty ¶
func (m MockStream) IsEmpty() bool
IsEmpty tests if all elements in the queue are consumed
func (*MockStream) Next ¶
func (m *MockStream) Next(ctx context.Context) (goduck.RawMessage, error)
Click to show internal directories.
Click to hide internal directories.