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

Method newBrokerConnGroup

transport.go:855–864  ·  view source on GitHub ↗
(broker Broker)

Source from the content-addressed store, hash-verified

853}
854
855func (p *connPool) newBrokerConnGroup(broker Broker) *connGroup {
856 return &connGroup{
857 addr: &networkAddress{
858 network: "tcp",
859 address: net.JoinHostPort(broker.Host, strconv.Itoa(broker.Port)),
860 },
861 pool: p,
862 broker: broker,
863 }
864}
865
866type connRequest struct {
867 ctx context.Context

Callers 1

updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected