librdkafka
The Apache Kafka C/C++ client library
rd_kafka_topic_partition_t Struct Reference

Topic+Partition place holder. More...

#include <rdkafka.h>

Data Fields

char * topic
 
int32_t partition
 
int64_t offset
 
void * metadata
 
size_t metadata_size
 
void * opaque
 
rd_kafka_resp_err_t err
 
void * _private
 

Detailed Description

Topic+Partition place holder.

Generic place holder for a Topic+Partition and its related information used for multiple purposes:

See also
rd_kafka_topic_partition_list_new()

Field Documentation

◆ topic

char* rd_kafka_topic_partition_t::topic

Topic name

◆ partition

int32_t rd_kafka_topic_partition_t::partition

Partition

◆ offset

int64_t rd_kafka_topic_partition_t::offset

Offset

◆ metadata

void* rd_kafka_topic_partition_t::metadata

Metadata

◆ metadata_size

size_t rd_kafka_topic_partition_t::metadata_size

Metadata size

◆ opaque

void* rd_kafka_topic_partition_t::opaque

Application opaque

◆ err

rd_kafka_resp_err_t rd_kafka_topic_partition_t::err

Error code, depending on use.

◆ _private

void* rd_kafka_topic_partition_t::_private

INTERNAL USE ONLY, INITIALIZE TO ZERO, DO NOT TOUCH


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