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

Metadata container. More...

#include <rdkafkacpp.h>

Public Types

typedef std::vector< const BrokerMetadata * > BrokerMetadataVector
 Brokers.
 
typedef std::vector< const TopicMetadata * > TopicMetadataVector
 Topics.
 
typedef BrokerMetadataVector::const_iterator BrokerMetadataIterator
 Brokers iterator.
 
typedef TopicMetadataVector::const_iterator TopicMetadataIterator
 Topics iterator.
 

Public Member Functions

virtual const BrokerMetadataVectorbrokers () const =0
 Broker list. More...
 
virtual const TopicMetadataVectortopics () const =0
 Topic list. More...
 
virtual int32_t orig_broker_id () const =0
 Broker (id) originating this metadata.
 
virtual const std::string orig_broker_name () const =0
 Broker (name) originating this metadata.
 

Detailed Description

Metadata container.

Member Function Documentation

◆ brokers()

virtual const BrokerMetadataVector* RdKafka::Metadata::brokers ( ) const
pure virtual

Broker list.

Remarks
Ownership of the returned pointer is retained by the instance of Metadata that is called.

◆ topics()

virtual const TopicMetadataVector* RdKafka::Metadata::topics ( ) const
pure virtual

Topic list.

Remarks
Ownership of the returned pointer is retained by the instance of Metadata that is called.

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