librdkafka
The Apache Kafka C/C++ client library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
PartitionMetadataVector
partitions () const =0
 
virtual ErrorCode err () const =0
 

Detailed Description

Metadata: Topic information.

Member Function Documentation

virtual const std::string RdKafka::TopicMetadata::topic ( ) const
pure virtual
Returns
Topic name
virtual const PartitionMetadataVector* RdKafka::TopicMetadata::partitions ( ) const
pure virtual
Returns
Partition list
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: