()
| 15 | ) |
| 16 | |
| 17 | func newLocalClientAndTopic() (*Client, string, func()) { |
| 18 | topic := makeTopic() |
| 19 | client, shutdown := newLocalClientWithTopic(topic, 1) |
| 20 | return client, topic, shutdown |
| 21 | } |
| 22 | |
| 23 | func newLocalClientWithTopic(topic string, partitions int) (*Client, func()) { |
| 24 | client, shutdown := newLocalClient() |
no test coverage detected