The Apache Kafka C/C++ client library
RdKafka::TopicMetadata Class Referenceabstract

Metadata: Topic information. More...

#include <rdkafkacpp.h>

Public Types

typedef std::vector< const PartitionMetadata * > PartitionMetadataVector
typedef PartitionMetadataVector::const_iterator PartitionMetadataIterator
 Partitions iterator.

Public Member Functions

virtual const std::string topic () const =0
virtual const PartitionMetadataVectorpartitions () const =0
virtual ErrorCode err () const =0

Detailed Description

Metadata: Topic information.

Member Function Documentation

◆ topic()

virtual const std::string RdKafka::TopicMetadata::topic ( ) const
pure virtual
Topic name

◆ partitions()

virtual const PartitionMetadataVector* RdKafka::TopicMetadata::partitions ( ) const
pure virtual
Partition list

◆ err()

virtual ErrorCode RdKafka::TopicMetadata::err ( ) const
pure virtual
Topic error reported by broker

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