MCPcopy
hub / github.com/segmentio/kafka-go / newLocalClientAndTopic

Function newLocalClientAndTopic

client_test.go:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 15

TestClientRawProduceFunction · 0.70
TestClientFetchFunction · 0.70
TestClientPipelineFunction · 0.70
TestClientMetadataFunction · 0.70
TestWriteV2RecordBatchFunction · 0.70
TestClientProduceFunction · 0.70

Calls 2

makeTopicFunction · 0.70
newLocalClientWithTopicFunction · 0.70

Tested by

no test coverage detected