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

Method Port

mockbroker.go:137–139  ·  view source on GitHub ↗

Port returns the TCP port number the broker is listening for requests on.

()

Source from the content-addressed store, hash-verified

135
136// Port returns the TCP port number the broker is listening for requests on.
137func (b *MockBroker) Port() int32 {
138 return b.port
139}
140
141// Addr returns the broker connection string in the form "<address>:<port>".
142func (b *MockBroker) Addr() string {

Calls

no outgoing calls