mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-10-31 18:47:48 +00:00
Add KafkaHandleBase::add_brokers
This commit is contained in:
@@ -64,7 +64,7 @@ public:
|
||||
/**
|
||||
* \brief Pauses consumption/production from the given topic/partition list
|
||||
*
|
||||
* This translates into a call to rd_kafka_pause_partitions
|
||||
* This translates into a call to rd_kafka_pause_partitions
|
||||
*
|
||||
* \param topic_partitions The topic/partition list to pause consuming/producing from/to
|
||||
*/
|
||||
@@ -88,6 +88,15 @@ public:
|
||||
*/
|
||||
void set_timeout(const std::chrono::milliseconds& timeout);
|
||||
|
||||
/**
|
||||
* \brief Adds one or more brokers to this handle's broker list
|
||||
*
|
||||
* This calls rd_kafka_brokers_add using the provided broker list.
|
||||
*
|
||||
* \param brokers The broker list endpoint string
|
||||
*/
|
||||
void add_brokers(const std::string& brokers);
|
||||
|
||||
/**
|
||||
* \brief Queries the offset for the given topic/partition
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user