Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConsumerGroup ¶
type MockConsumerGroup struct { Closed bool // contains filtered or unexported fields }
Define The Mock ConsumerGroup
func NewMockConsumerGroup ¶
func NewMockConsumerGroup(t *testing.T) *MockConsumerGroup
Mock ConsumerGroup Constructor
func (*MockConsumerGroup) Close ¶
func (m *MockConsumerGroup) Close() error
func (*MockConsumerGroup) Consume ¶
func (m *MockConsumerGroup) Consume(ctx context.Context, topics []string, handler sarama.ConsumerGroupHandler) error
func (*MockConsumerGroup) Errors ¶
func (m *MockConsumerGroup) Errors() <-chan error
Click to show internal directories.
Click to hide internal directories.