The Apache Kafka C/C++ client library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
rd_kafka_metadata_partition_t Struct Reference

Partition information. More...

#include <rdkafka.h>

Data Fields

int32_t id
rd_kafka_resp_err_t err
int32_t leader
int replica_cnt
int32_t * replicas
int isr_cnt
int32_t * isrs

Detailed Description

Partition information.

Field Documentation

int32_t rd_kafka_metadata_partition_t::id

Partition Id

rd_kafka_resp_err_t rd_kafka_metadata_partition_t::err

Partition error reported by broker

int32_t rd_kafka_metadata_partition_t::leader

Leader broker

int rd_kafka_metadata_partition_t::replica_cnt

Number of brokers in replicas

int32_t* rd_kafka_metadata_partition_t::replicas

Replica brokers

int rd_kafka_metadata_partition_t::isr_cnt

Number of ISR brokers in isrs

int32_t* rd_kafka_metadata_partition_t::isrs

In-Sync-Replica brokers

The documentation for this struct was generated from the following file: