MCPcopy
hub / github.com/IBM/sarama / stubLeaderClient

Struct stubLeaderClient

async_producer_test.go:2086–2089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2084}
2085
2086type stubLeaderClient struct {
2087 cfg *Config
2088 leader *Broker
2089}
2090
2091func (c *stubLeaderClient) Config() *Config { return c.cfg }
2092func (c *stubLeaderClient) Controller() (*Broker, error) { return nil, nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected