Kafka::TopicPartitionList
Inherits Reference < Object
A growable list of Topic+Partitions.
Constructors
new(rkparlist : LibKafka::TopicPartitionListT)
SourceInstance methods
add_range(topic : String, start : Int32, stop : Int32)
Add range of partitions from start to stop inclusive.
to_unsafe
Sourcetopic_partition_list_find(topic : String, partition : Int32)
Find element by topic and partition.
topic_partition_list_set_offset(topic : String, partition : Int32, offset : Int64)
Set offset for topic and partition.