librdkafka
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
 Partitions.
 
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
Returns
Topic name

◆ partitions()

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

◆ err()

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

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