The Apache Kafka C/C++ client library
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

◆ id

int32_t rd_kafka_metadata_partition_t::id

Partition Id

◆ err

rd_kafka_resp_err_t rd_kafka_metadata_partition_t::err

Partition error reported by broker

◆ leader

int32_t rd_kafka_metadata_partition_t::leader

Leader broker

◆ replica_cnt

int rd_kafka_metadata_partition_t::replica_cnt

Number of brokers in replicas

◆ replicas

int32_t* rd_kafka_metadata_partition_t::replicas

Replica brokers

◆ isr_cnt

int rd_kafka_metadata_partition_t::isr_cnt

Number of ISR brokers in isrs

◆ isrs

int32_t* rd_kafka_metadata_partition_t::isrs

In-Sync-Replica brokers

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