rd_kafka_TopicCollection_of_topic_names method

Pointer<rd_kafka_TopicCollection_t> rd_kafka_TopicCollection_of_topic_names(
  1. Pointer<Pointer<Char>> topics,
  2. int topics_cnt
)

@brief Creates a new TopicCollection for passing to rd_kafka_DescribeTopics.

@param topics A list of topics. @param topics_cnt Count of topics.

@return a newly allocated TopicCollection object. Must be freed using rd_kafka_TopicCollection_destroy when done.

Implementation

ffi.Pointer<rd_kafka_TopicCollection_t>
rd_kafka_TopicCollection_of_topic_names(
  ffi.Pointer<ffi.Pointer<ffi.Char>> topics,
  int topics_cnt,
) {
  return _rd_kafka_TopicCollection_of_topic_names(topics, topics_cnt);
}