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

Method Close

client.go:124–124  ·  view source on GitHub ↗

Close shuts down all broker connections managed by this client. It is required to call this function before a client object passes out of scope, as it will otherwise leak memory. You must close any Producers or Consumers using a client before you close the client.

()

Source from the content-addressed store, hash-verified

122 // otherwise leak memory. You must close any Producers or Consumers using a client
123 // before you close the client.
124 Close() error
125
126 // Closed returns true if the client has already had Close called on it
127 Closed() bool

Implementers 2

stubLeaderClientasync_producer_test.go
clientclient.go

Calls

no outgoing calls