View definition

(Consumer).Partitions

Defined in github.com/Shopify/sarama/consumer.go

Description

Partitions returns the sorted list of all partition IDs for the given topic. This method is the same as Client.Partitions(), and is provided for convenience.