@brief Create a new list/vector Topic+Partition container.
@param size Initial allocated size used when the expected number of
elements is known or can be estimated.
Avoids reallocation and possibly relocation of the
elems array.
@returns A newly allocated Topic+Partition list.
@remark Use rd_kafka_topic_partition_list_destroy() to free all resources
in use by a list and the list itself.
@sa rd_kafka_topic_partition_list_add()
@brief Create a new list/vector Topic+Partition container.
@param size Initial allocated size used when the expected number of elements is known or can be estimated. Avoids reallocation and possibly relocation of the elems array.
@returns A newly allocated Topic+Partition list.
@remark Use rd_kafka_topic_partition_list_destroy() to free all resources in use by a list and the list itself. @sa rd_kafka_topic_partition_list_add()