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

Method Topics

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

Topics returns the set of available topics as retrieved from cluster metadata.

()

Source from the content-addressed store, hash-verified

43
44 // Topics returns the set of available topics as retrieved from cluster metadata.
45 Topics() ([]string, error)
46
47 // Partitions returns the sorted list of all partition IDs for the given topic.
48 Partitions(topic string) ([]int32, error)

Implementers 2

stubLeaderClientasync_producer_test.go
clientclient.go

Calls

no outgoing calls