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

Generic place holder for a specific Topic+Partition.

See also
rd_kafka_topic_partition_list_new()

Field Documentation

◆ topic

char* rd_kafka_topic_partition_s::topic

Topic name

◆ partition

int32_t rd_kafka_topic_partition_s::partition

Partition

◆ offset

int64_t rd_kafka_topic_partition_s::offset

Offset

◆ metadata

void* rd_kafka_topic_partition_s::metadata

Metadata

◆ metadata_size

size_t rd_kafka_topic_partition_s::metadata_size

Metadata size

◆ opaque

void* rd_kafka_topic_partition_s::opaque

Opaque value for application use

◆ err

rd_kafka_resp_err_t rd_kafka_topic_partition_s::err

Error code, depending on use.

◆ _private

void* rd_kafka_topic_partition_s::_private

INTERNAL USE ONLY, INITIALIZE TO ZERO, DO NOT TOUCH, DO NOT COPY, DO NOT SHARE WITH OTHER rd_kafka_t INSTANCES.


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