class Kafka::Client
def partitions_for(topic)
-
(Integer)
- the number of partitions in the topic.
Parameters:
-
topic
(String
) --
def partitions_for(topic) @cluster.partitions_for(topic).count end
(Integer)
- the number of partitions in the topic.
topic
(String
)
--
def partitions_for(topic) @cluster.partitions_for(topic).count end