Description

NewMockBroker launches a fake Kafka broker. It takes a TestReporter as provided by the test framework and a channel of responses to use. If an error occurs it is simply logged to the TestReporter and the broker exits.

NewMockBroker is referenced in 3 repositories

github.com/Shopify/sarama github.com/goibibo/KafkaLogrus github.com/vrischmann/koff