Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKafkaConsumer ¶
MockKafkaConsumer is used to mock a Kafka consumer.
func (*MockKafkaConsumer) CommitMessages ¶
func (c *MockKafkaConsumer) CommitMessages(ctx context.Context, msgs ...kafka.Message) error
func (*MockKafkaConsumer) FetchMessage ¶
func (c *MockKafkaConsumer) FetchMessage(ctx context.Context) (kafka.Message, error)
type MockKafkaProducer ¶
MockKafkaProducer is used to mock a Kafka producer.
func (*MockKafkaProducer) WriteMessages ¶
func (p *MockKafkaProducer) WriteMessages(ctx context.Context, msgs ...kafka.Message) error
Click to show internal directories.
Click to hide internal directories.