Add wrapper for rd_kafka_outq_len

This commit is contained in:
Matias Fontanini
2016-10-08 10:24:15 -07:00
parent a46896790b
commit 23f151175d
2 changed files with 11 additions and 0 deletions

View File

@@ -166,6 +166,13 @@ public:
* Gets the handle's configuration
*/
const Configuration& get_configuration() const;
/**
* \brief Gets the length of the out queue
*
* This calls rd_kafka_outq_len
*/
int get_out_queue_length() const;
protected:
KafkaHandleBase(Configuration config);