rd_kafka_TopicPartitionInfo_replicas method
Pointer<Pointer<rd_kafka_Node_t> >
rd_kafka_TopicPartitionInfo_replicas(
- Pointer<
rd_kafka_TopicPartitionInfo_t> partition, - Pointer<
Size> cntp
@brief Gets the partition replicas for \p partition.
@param partition The partition info. @param cntp is updated with partition replicas count.
@return The partition replicas nodes.
@remark The lifetime of the returned memory is the same as the lifetime of the \p partition object.
Implementation
ffi.Pointer<ffi.Pointer<rd_kafka_Node_t>>
rd_kafka_TopicPartitionInfo_replicas(
ffi.Pointer<rd_kafka_TopicPartitionInfo_t> partition,
ffi.Pointer<ffi.Size> cntp,
) {
return _rd_kafka_TopicPartitionInfo_replicas(partition, cntp);
}